view.py
changeset 8013 7b2b8a7fb96d
parent 7990 a673d1d9a738
parent 8011 23552e79316f
child 8174 b3e87e6865ef
--- a/view.py	Mon Oct 24 13:18:58 2011 +0200
+++ b/view.py	Mon Oct 24 13:19:23 2011 +0200
@@ -449,7 +449,7 @@
         if tr:
             translate = partial(display_name, self._cw)
         else:
-            translate = lambda val: val
+            translate = lambda val, *args,**kwargs: val
         # XXX [0] because of missing Union support
         rql_syntax_tree = self.cw_rset.syntax_tree()
         rqlstdescr = rql_syntax_tree.get_description(mainindex, translate)[0]