server/__init__.py
changeset 10353 d9a1e7939ee6
parent 10096 decd60fa8cc5
child 10354 635cfac73d28
--- a/server/__init__.py	Fri Jun 13 12:07:51 2014 +0200
+++ b/server/__init__.py	Fri Jun 13 13:54:28 2014 +0200
@@ -289,6 +289,7 @@
     config._cubes = None # avoid assertion error
     repo = get_repository(config=config)
     with connect(repo, login, password=pwd) as cnx:
+        cnx = cnx._cnx # client connection -> repo connection
         with cnx.security_enabled(False, False):
             repo.system_source.eid = ssource.eid # redo this manually
             handler = config.migration_handler(schema, interactive=False,