[vreg] keep positional arg compat stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 31 Aug 2009 09:58:15 +0200
branchstable
changeset 3055 06814d57514f
parent 3054 8b3b243e308e
child 3056 61f71ed15cfa
child 3060 ea967a4f6ccb
child 3091 c3d73cecb29e
[vreg] keep positional arg compat
cwvreg.py
--- 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: