misc/migration/bootstrapmigration_repository.py
changeset 7398 26695dd703d8
parent 6896 784d5df35af1
child 7543 570522300e22
--- a/misc/migration/bootstrapmigration_repository.py	Thu May 19 10:36:26 2011 +0200
+++ b/misc/migration/bootstrapmigration_repository.py	Thu May 19 10:53:11 2011 +0200
@@ -49,7 +49,7 @@
 elif applcubicwebversion < (3, 6, 0) and cubicwebversion >= (3, 6, 0):
     CSTRMAP = dict(rql('Any T, X WHERE X is CWConstraintType, X name T',
                        ask_confirm=False))
-    session.set_pool()
+    session.set_cnxset()
     permsdict = ss.deserialize_ertype_permissions(session)
 
     with hooks_control(session, session.HOOKS_ALLOW_ALL, 'integrity'):