Commit cad38f31 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

use a property for schema, avoid bad schema reference

--HG--
branch : stable
parent 4484387ed012
......@@ -47,7 +47,10 @@ class CWRegistry(Registry):
def __init__(self, vreg):
super(CWRegistry, self).__init__(vreg.config)
self.vreg = vreg
self.schema = vreg.schema
@property
def schema(self):
return self.vreg.schema
def initialization_completed(self):
# call vreg_initialization_completed on appobjects and print
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment