Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
d249dd9000d9
Commit
cad38f31
authored
Aug 20, 2009
by
Sylvain Thénault
Browse files
use a property for schema, avoid bad schema reference
--HG-- branch : stable
parent
4484387ed012
Changes
1
Hide whitespace changes
Inline
Side-by-side
cwvreg.py
View file @
d249dd90
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment