[web] eid key is deprecated
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 16 Jul 2010 11:00:42 +0200
changeset 5979 561b6c2eb288
parent 5978 3939d48d39d4
child 5980 6dc04e75c8e1
[web] eid key is deprecated
web/box.py
web/views/treeview.py
--- a/web/box.py	Thu Jul 15 17:19:34 2010 +0200
+++ b/web/box.py	Fri Jul 16 11:00:42 2010 +0200
@@ -143,7 +143,7 @@
 
     def to_display_rql(self):
         assert self.rql is not None, self.__regid__
-        return (self.rql, {'x': self._cw.user.eid}, 'x')
+        return (self.rql, {'x': self._cw.user.eid})
 
 
 class EntityBoxTemplate(BoxTemplate):
--- a/web/views/treeview.py	Thu Jul 15 17:19:34 2010 +0200
+++ b/web/views/treeview.py	Fri Jul 16 11:00:42 2010 +0200
@@ -71,7 +71,6 @@
         self.w(u'</li>\n')
 
 
-
 class TreePathView(EntityView):
     """a recursive path view"""
     __regid__ = 'path'