server/repository.py
branchtls-sprint
changeset 1317 12dc957a5b55
parent 1316 6d71d38822ee
child 1320 c85f4d8eff8b
--- a/server/repository.py	Thu Apr 09 13:51:01 2009 +0200
+++ b/server/repository.py	Thu Apr 09 13:59:44 2009 +0200
@@ -181,7 +181,7 @@
             # need to load the Any and EUser entity types
             self.vreg.schema = self.schema
             etdirectory = join(CW_SOFTWARE_ROOT, 'entities')
-            self.init_registration(etdirectory)
+            self.vreg.init_registration([etdirectory])
             self.vreg.load_file(join(etdirectory, '__init__.py'),
                                 'cubicweb.entities.__init__')
             self.vreg.load_file(join(etdirectory, 'authobjs.py'),