[vreg] fix bad super call to lgc.registry.Registry() stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 16 May 2014 17:01:34 +0200
branchstable
changeset 9768 afcd46716d6a
parent 9634 e01121bbd4fe
child 9771 2656ac7fa9a8
[vreg] fix bad super call to lgc.registry.Registry() Registry() expects a debugmode parameter, ovbiously not a cubicweb config object.
cwvreg.py
--- a/cwvreg.py	Mon Apr 07 15:57:47 2014 +0200
+++ b/cwvreg.py	Fri May 16 17:01:34 2014 +0200
@@ -241,7 +241,7 @@
 
 class CWRegistry(Registry):
     def __init__(self, vreg):
-        super(CWRegistry, self).__init__(vreg.config)
+        super(CWRegistry, self).__init__(vreg.config.debugmode)
         self.vreg = vreg
 
     @property