[web/views] make PrimaryView.entity_call accept kwargs stable
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 15 Jul 2013 11:45:37 +0200
branchstable
changeset 9220 3b437196c2d8
parent 9219 6afdeaabac74
child 9221 e9a3a22f98b7
[web/views] make PrimaryView.entity_call accept kwargs It's useful when using this view in a different context to have it not crash on random arguments.
web/views/primary.py
--- a/web/views/primary.py	Mon Sep 02 12:47:12 2013 +0200
+++ b/web/views/primary.py	Mon Jul 15 11:45:37 2013 +0200
@@ -109,7 +109,7 @@
         """
         return []
 
-    def entity_call(self, entity):
+    def entity_call(self, entity, **kwargs):
         entity.complete()
         uicfg_reg = self._cw.vreg['uicfg']
         if self.rsection is None: