cleanup stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 20 May 2009 09:41:55 +0200
branchstable
changeset 1876 b06a797448aa
parent 1875 7bcb02377516
child 1877 10b9feeb7905
cleanup
dbapi.py
web/views/boxes.py
--- 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):
     """