# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1272027661 -7200
#      Fri Apr 23 15:01:01 2010 +0200
# Branch stable
# Node ID fb3db84a7019ed83c071ae178bfdf91cbe3dbe90
# Parent  6c9687eb82ba140e29cd41207cfd999c837d3643
should use entity, not self.entity (which is a function)

diff --git a/views.py b/views.py
--- a/views.py
+++ b/views.py
@@ -101,7 +101,7 @@
 
     def cell_call(self, row, col, **kwargs):
         entity = self.cw_rset.get_entity(row, col)
-        self.w(u'[%s] ' % self.entity.view('commentroot'))
+        self.w(u'[%s] ' % entity.view('commentroot'))
         self.w(u'<a href="%s"><i>%s</i></a>\n' % (
             xml_escape(entity.absolute_url()),
             entity.view('commentsummary')))