# HG changeset patch # User Sylvain Thénault # Date 1255600616 -7200 # Node ID 9b62c5887639bfaa60ffd7bbb43e9a31503592b6 # Parent cdbe4aac1198127035b1e2eb293686030ab75d63 add kwargs to some base views diff -r cdbe4aac1198 -r 9b62c5887639 web/views/baseviews.py --- a/web/views/baseviews.py Thu Oct 15 11:55:07 2009 +0200 +++ b/web/views/baseviews.py Thu Oct 15 11:56:56 2009 +0200 @@ -115,7 +115,7 @@ id = 'secondary' title = _('secondary') - def cell_call(self, row, col): + def cell_call(self, row, col, **kwargs): """the secondary view for an entity secondary = icon + view(oneline) """ @@ -128,7 +128,7 @@ id = 'oneline' title = _('oneline') - def cell_call(self, row, col): + def cell_call(self, row, col, **kwargs): """the one line view for an entity: linked text view """ entity = self.entity(row, col) @@ -222,7 +222,7 @@ class OutOfContextView(EntityView): id = 'outofcontext' - def cell_call(self, row, col): + def cell_call(self, row, col, **kwargs): entity = self.entity(row, col) desc = cut(entity.dc_description(), 50) self.w(u'' % (