[serverctl] fix db-dump
authorJulien Cristau <julien.cristau@logilab.fr>
Tue, 03 Nov 2015 15:54:46 +0100
changeset 10823 48f59820ff78
parent 10822 9337c72ad92c
child 10824 fbefdaa56d2b
[serverctl] fix db-dump Since changeset af47954c1015 we would die with: AttributeError: 'ServerMigrationHelper' object has no attribute 'repo'
server/serverctl.py
--- a/server/serverctl.py	Tue Nov 03 15:52:17 2015 +0100
+++ b/server/serverctl.py	Tue Nov 03 15:54:46 2015 +0100
@@ -690,7 +690,7 @@
 def _local_dump(appid, output, format='native'):
     config = ServerConfiguration.config_for(appid)
     config.quick_start = True
-    mih = config.migration_handler(connect=False, verbosity=1)
+    mih = config.migration_handler(verbosity=1)
     mih.backup_database(output, askconfirm=False, format=format)
     mih.shutdown()