server/migractions.py
changeset 4017 a5b4d4f2a1c7
parent 4011 394f853bb653
child 4021 280c910c8710
--- a/server/migractions.py	Tue Dec 08 09:38:14 2009 +0100
+++ b/server/migractions.py	Tue Dec 08 09:41:06 2009 +0100
@@ -263,7 +263,8 @@
     def _create_context(self):
         """return a dictionary to use as migration script execution context"""
         context = super(ServerMigrationHelper, self)._create_context()
-        context.update({'checkpoint': self.checkpoint,
+        context.update({'commit': self.checkpoint,
+                        'checkpoint': deprecated('[3.6] use commit')(self.checkpoint),
                         'sql': self.sqlexec,
                         'rql': self.rqlexec,
                         'rqliter': self.rqliter,