web/views/treeview.py
branchstable
changeset 4719 aaed3f813ef8
parent 4552 79f461d7ec37
child 4721 8f63691ccb7f
--- a/web/views/treeview.py	Fri Feb 26 13:12:01 2010 +0100
+++ b/web/views/treeview.py	Fri Feb 26 13:19:14 2010 +0100
@@ -9,7 +9,6 @@
 
 import simplejson as json
 
-from logilab.common.decorators import monkeypatch
 from logilab.mtconverter import xml_escape
 from cubicweb.utils import make_uid
 from cubicweb.interfaces import ITree
@@ -115,7 +114,6 @@
 
     def cell_call(self, row, col, vid='oneline', treeid=None, **morekwargs):
         assert treeid is not None
-        entity = self.cw_rset.get_entity(row, col)
         itemview = self._cw.view(vid, self.cw_rset, row=row, col=col)
         last_class = morekwargs['is_last'] and ' class="last"' or ''
         self.w(u'<li%s>%s</li>' % (last_class, itemview))