diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-12-09 12:20:06 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-12-09 12:20:06 -0600 |
commit | 41fc4698c5e6f41438c270bf088495bd2e7db3e2 (patch) | |
tree | f165e4d11d70e61bfdb7bab195f52ed4874e444d /mediagoblin/db/sql/util.py | |
parent | a4eef7fe91918cb35c73f6df319308176e8e3129 (diff) | |
download | mediagoblin-41fc4698c5e6f41438c270bf088495bd2e7db3e2.tar.lz mediagoblin-41fc4698c5e6f41438c270bf088495bd2e7db3e2.tar.xz mediagoblin-41fc4698c5e6f41438c270bf088495bd2e7db3e2.zip |
Eeek! Set the migration number to the current migration number being run!
Diffstat (limited to 'mediagoblin/db/sql/util.py')
-rw-r--r-- | mediagoblin/db/sql/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/sql/util.py b/mediagoblin/db/sql/util.py index 92866149..f6a3dc17 100644 --- a/mediagoblin/db/sql/util.py +++ b/mediagoblin/db/sql/util.py @@ -217,7 +217,7 @@ class MigrationManager(object): u' + Running migration %s, "%s"... ' % ( migration_number, migration_func.func_name)) migration_func(self.session) - self.set_current_migration() + self.set_current_migration(migration_number) self.printer('done.\n') return u'migrated' |