misc/migration/bootstrapmigration_repository.py
changeset 4042 f85a4c846aad
parent 4011 394f853bb653
child 4109 841bc459d5e8
--- a/misc/migration/bootstrapmigration_repository.py	Tue Dec 08 16:40:00 2009 +0100
+++ b/misc/migration/bootstrapmigration_repository.py	Tue Dec 08 16:41:43 2009 +0100
@@ -118,7 +118,7 @@
     rql('DELETE TrInfo TI WHERE NOT TI from_state S')
     rql('SET TI by_transition T WHERE TI from_state FS, TI to_state TS, '
         'FS allowed_transition T, T destination_state TS')
-    checkpoint()
+    commit()
 
     drop_relation_definition('State', 'state_of', 'CWEType')
     drop_relation_definition('Transition', 'transition_of', 'CWEType')
@@ -133,7 +133,7 @@
                               % table, ask_confirm=False):
             sql('UPDATE %s SET extid=%%(extid)s WHERE eid=%%(eid)s' % table,
                 {'extid': b64encode(extid), 'eid': eid}, ask_confirm=False)
-    checkpoint()
+    commit()
 
 if applcubicwebversion < (3, 2, 0) and cubicwebversion >= (3, 2, 0):
     add_cube('card', update_database=False)