[views/breadcrumbs] fix bad signature stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 04 Mar 2010 17:50:17 +0100
branchstable
changeset 4802 fa2297d6542a
parent 4798 d5bd706e9005
child 4803 f531742e85f4
[views/breadcrumbs] fix bad signature
web/views/ibreadcrumbs.py
--- a/web/views/ibreadcrumbs.py	Thu Mar 04 16:58:40 2010 +0100
+++ b/web/views/ibreadcrumbs.py	Thu Mar 04 17:50:17 2010 +0100
@@ -104,7 +104,7 @@
 class BreadCrumbView(EntityView):
     __regid__ = 'breadcrumbs'
 
-    def cell_call(self, row, col):
+    def cell_call(self, row, col, **kwargs):
         entity = self.cw_rset.get_entity(row, col)
         desc = xml_escape(uilib.cut(entity.dc_description(), 50))
         # XXX remember camember : tags.a autoescapes !
@@ -115,7 +115,7 @@
 class BreadCrumbTextView(EntityView):
     __regid__ = 'breadcrumbtext'
 
-    def cell_call(self, row, col):
+    def cell_call(self, row, col, **kwargs):
         entity = self.cw_rset.get_entity(row, col)
         textsize = self._cw.property_value('navigation.short-line-size')
         self.w(uilib.cut(entity.dc_title(), textsize))