cubicweb/server/migractions.py
changeset 11980 7c8aadc4b483
parent 11976 978a5773c4c3
child 11981 56e99b59272f
--- a/cubicweb/server/migractions.py	Thu Feb 23 17:38:47 2017 +0100
+++ b/cubicweb/server/migractions.py	Thu Feb 23 17:45:50 2017 +0100
@@ -268,8 +268,7 @@
                 written_format = format_file.readline().strip()
                 if written_format in ('portable', 'native'):
                     format = written_format
-        self.config.init_cnxset_pool = False
-        repo = self.repo = repository.Repository(self.config)
+        repo = self.repo = repository.Repository(self.config, bootstrap=False)
         source = repo.system_source
         try:
             source.restore(osp.join(tmpdir, source.uri), self.confirm, drop, format)