web/webconfig.py
changeset 9504 71a11bca251d
parent 9372 e87a808a4c32
child 9571 aaf83cc07eed
--- 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