[schema] oops
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 07 Aug 2009 16:50:09 +0200
changeset 2741 148d0cea1fb5
parent 2740 7ab70fad02df
child 2742 9439c61eb84c
[schema] oops
schema.py
--- a/schema.py	Fri Aug 07 16:49:20 2009 +0200
+++ b/schema.py	Fri Aug 07 16:50:09 2009 +0200
@@ -885,10 +885,10 @@
             cleanup_sys_modules([join(cubicweb.CW_SOFTWARE_ROOT, 'schemas')])
 
     def _load_definition_files(self, cubes):
-        for filepath in (join(CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
-                         join(CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
-                         join(CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
-                         join(CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
+        for filepath in (join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'bootstrap.py'),
+                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'base.py'),
+                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'workflow.py'),
+                         join(cubicweb.CW_SOFTWARE_ROOT, 'schemas', 'Bookmark.py')):
             self.info('loading %s', filepath)
             self.handle_file(filepath)
         for cube in cubes: