server/repository.py
changeset 8537 e30d0a7f0087
parent 8456 c912d82f2166
child 8538 00597256de18
--- a/server/repository.py	Fri Sep 07 14:01:59 2012 +0200
+++ b/server/repository.py	Mon Sep 10 14:00:09 2012 +0200
@@ -198,8 +198,8 @@
             # information (eg dump/restore/...)
             config._cubes = ()
             # only load hooks and entity classes in the registry
-            config.__class__.cube_appobject_path = set(('hooks', 'entities'))
-            config.__class__.cubicweb_appobject_path = set(('hooks', 'entities'))
+            config.cube_appobject_path = set(('hooks', 'entities'))
+            config.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