# HG changeset patch # User Sylvain Thénault # Date 1251705495 -7200 # Node ID 06814d57514f248820b0d65958ce8fded1fd4638 # Parent 8b3b243e308ed348460323277cb657eee5ebc9d8 [vreg] keep positional arg compat diff -r 8b3b243e308e -r 06814d57514f 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: