server/__init__.py
branchstable
changeset 5750 b3bc214cd479
parent 5424 8ecbcbff9777
child 6126 aca6a2c357fd
--- a/server/__init__.py	Tue Jun 15 18:00:28 2010 +0200
+++ b/server/__init__.py	Tue Jun 15 18:00:29 2010 +0200
@@ -180,6 +180,7 @@
                         {'name': unicode(group)})
     create_user(session, login, pwd, 'managers')
     session.commit()
+    repo.shutdown()
     # reloging using the admin user
     config._cubes = None # avoid assertion error
     repo, cnx = in_memory_cnx(config, login, password=pwd)