common/migration.py
changeset 2968 0e3460341023
parent 2897 2658f432284c
child 3152 7ef7c82daf59
child 3201 8af05e82510c
--- a/common/migration.py	Tue Aug 18 09:25:44 2009 +0200
+++ b/common/migration.py	Fri Aug 21 16:26:20 2009 +0200
@@ -157,7 +157,7 @@
                     # take care to X.Y.Z_Any.py / X.Y.Z_common.py: we've to call
                     # cube_upgraded once all script of X.Y.Z have been executed
                     if prevversion is not None and version != prevversion:
-                        self.cube_upgraded(cube, version)
+                        self.cube_upgraded(cube, prevversion)
                     prevversion = version
                     self.process_script(script)
                 self.cube_upgraded(cube, toversion)