cwvreg.py
branchstable
changeset 3055 06814d57514f
parent 2927 d249dd9000d9
child 3057 f4ba5a251ab7
--- a/cwvreg.py	Mon Aug 31 09:57:45 2009 +0200
+++ b/cwvreg.py	Mon Aug 31 09:58:15 2009 +0200
@@ -310,8 +310,8 @@
         else:
             self._needs_iface[obj] = ifaces
 
-    def register(self, obj, **kwargs):
-        super(CubicWebVRegistry, self).register(obj, **kwargs)
+    def register(self, obj, *args, **kwargs):
+        super(CubicWebVRegistry, self).register(obj, *args, **kwargs)
         # XXX bw compat
         ifaces = use_interfaces(obj)
         if ifaces: