devtools/__init__.py
changeset 10568 3914388b2d0f
parent 10510 51321946da37
child 10588 fdaa0e4b7eaf
--- a/devtools/__init__.py	Wed Jul 09 15:50:23 2014 +0200
+++ b/devtools/__init__.py	Wed Jul 09 16:32:14 2014 +0200
@@ -399,9 +399,8 @@
 
     def _new_repo(self, config):
         """Factory method to create a new Repository Instance"""
-        from cubicweb.repoapi import _get_inmemory_repo
         config._cubes = None
-        repo = _get_inmemory_repo(config)
+        repo = config.repository()
         # extending Repository class
         repo._has_started = False
         repo._needs_refresh = False