server/repository.py
branchstable
changeset 7305 1f97c05cfbab
parent 7238 576abb8c4626
child 7373 e5e6ef56cfb5
--- a/server/repository.py	Wed May 04 12:24:41 2011 +0200
+++ b/server/repository.py	Wed May 04 14:55:27 2011 +0200
@@ -178,8 +178,8 @@
             # information (eg dump/restore/...)
             config._cubes = ()
             # only load hooks and entity classes in the registry
-            config.cube_appobject_path = set(('hooks', 'entities'))
-            config.cubicweb_appobject_path = set(('hooks', 'entities'))
+            config.__class__.cube_appobject_path = set(('hooks', 'entities'))
+            config.__class__.cubicweb_appobject_path = set(('hooks', 'entities'))
             self.set_schema(config.load_schema())
             config['connections-pool-size'] = 1
             # will be reinitialized later from cubes found in the database