--- a/web/views/reledit.py Thu Oct 21 18:38:36 2010 +0200
+++ b/web/views/reledit.py Fri Oct 22 09:15:35 2010 +0200
@@ -15,8 +15,10 @@
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
-"""the 'reedit' feature (eg edit attribute/relation from primary view)
-"""
+"""the 'reedit' feature (eg edit attribute/relation from primary view"""
+
+__docformat__ = "restructuredtext en"
+_ = unicode
import copy
from warnings import warn
@@ -209,7 +211,7 @@
return rschema.has_perm(self._cw, 'delete', **kwargs)
def _build_edit_zone(self):
- return self._editzone % {'msg' : xml_escape(_(self._cw._(self._editzonemsg)))}
+ return self._editzone % {'msg' : xml_escape(self._cw._(self._editzonemsg))}
def _build_delete_zone(self):
return self._deletezone % {'msg': xml_escape(self._cw._(self._deletemsg))}