server/serverctl.py
changeset 10569 af47954c1015
parent 10527 2379f136d48c
child 10589 7c23b7de2b8d
--- a/server/serverctl.py	Wed Jul 09 16:32:14 2014 +0200
+++ b/server/serverctl.py	Wed Jul 09 17:52:45 2014 +0200
@@ -696,7 +696,7 @@
     config.quick_start = True
     mih = config.migration_handler(connect=False, verbosity=1)
     mih.restore_database(backupfile, drop, askconfirm=False, format=format)
-    repo = mih.repo_connect()
+    repo = mih.repo
     # version of the database
     dbversions = repo.get_versions()
     mih.shutdown()