--- a/dbapi.py Wed May 20 09:41:48 2009 +0200
+++ b/dbapi.py Wed May 20 09:41:55 2009 +0200
@@ -437,7 +437,7 @@
req = self.request()
rset = req.eid_rset(eid, self._user_etype)
user = self.vreg.etype_class(self._user_etype)(req, rset, row=0, groups=groups,
- properties=properties)
+ properties=properties)
user['login'] = login # cache login
return user
--- a/web/views/boxes.py Wed May 20 09:41:48 2009 +0200
+++ b/web/views/boxes.py Wed May 20 09:41:55 2009 +0200
@@ -13,6 +13,7 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__ = "restructuredtext en"
+_ = unicode
from logilab.mtconverter import html_escape
@@ -23,7 +24,6 @@
from cubicweb.web import uicfg
from cubicweb.web.box import BoxTemplate
-_ = unicode
class EditBox(BoxTemplate):
"""