with 3.6 checkpoint was renamed to commit stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 17 Feb 2010 14:08:31 +0100
branchstable
changeset 169 8ddb43387dda
parent 168 901959b5b867
child 171 9d09744564c7
with 3.6 checkpoint was renamed to commit
migration/1.7.0_Any.py
--- a/migration/1.7.0_Any.py	Mon Feb 15 16:48:59 2010 +0100
+++ b/migration/1.7.0_Any.py	Wed Feb 17 14:08:31 2010 +0100
@@ -12,7 +12,7 @@
 
     publish = bwf.add_transition(_('publish'), draft, published,
                                  ('managers',))
-    checkpoint()
+    commit()
 
 # set state to published for already existing blog entries
 blogentries = rql('Any B WHERE B is BlogEntry')
@@ -23,4 +23,4 @@
                            'B eid %(b)s',
                            {'b': eid}, 'b')
 
-checkpoint()
+commit()