oops tls-sprint
authorsylvain.thenault@logilab.fr
Thu, 09 Apr 2009 13:59:44 +0200
branchtls-sprint
changeset 1317 12dc957a5b55
parent 1316 6d71d38822ee
child 1318 50e1a778c5ee
oops
server/repository.py
--- 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'),