[webconfig] get_repository moved to repoapi
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 30 Jan 2014 15:52:22 +0100
changeset 9504 71a11bca251d
parent 9503 562cef272a35
child 9505 53225f66e7ca
[webconfig] get_repository moved to repoapi
web/webconfig.py
--- a/web/webconfig.py	Thu Jan 30 16:48:39 2014 +0100
+++ b/web/webconfig.py	Thu Jan 30 15:52:22 2014 +0100
@@ -274,7 +274,7 @@
         try:
             return self.__repo
         except AttributeError:
-            from cubicweb.dbapi import get_repository
+            from cubicweb.repoapi import get_repository
             repo = get_repository(config=self, vreg=vreg)
             self.__repo = repo
             return repo