server/__init__.py
changeset 3647 2941f4a0aab9
parent 3530 7dfe9d2c0fe7
child 3720 5376aaadd16b
--- a/server/__init__.py	Tue Oct 13 08:48:00 2009 +0200
+++ b/server/__init__.py	Tue Oct 13 08:50:19 2009 +0200
@@ -175,7 +175,7 @@
     session.commit()
     # reloging using the admin user
     config._cubes = None # avoid assertion error
-    repo, cnx = in_memory_cnx(config, login, pwd)
+    repo, cnx = in_memory_cnx(config, login, password=pwd)
     assert len(repo.sources) == 1, repo.sources
     handler = config.migration_handler(schema, interactive=False,
                                        cnx=cnx, repo=repo)