From: Christopher Allan Webber Date: Sun, 29 Jan 2012 23:26:23 +0000 (-0600) Subject: migrations_to_run here a list, so no reason to call it X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bff7098a6c8efa699f7344ee0f5d4e1326f996c2;p=mediagoblin.git migrations_to_run here a list, so no reason to call it --- diff --git a/mediagoblin/db/sql/util.py b/mediagoblin/db/sql/util.py index a7f5fedf..17c8bf8a 100644 --- a/mediagoblin/db/sql/util.py +++ b/mediagoblin/db/sql/util.py @@ -213,7 +213,7 @@ class MigrationManager(object): if migrations_to_run: self.printer( u'~> Updating %s:\n' % self.name_for_printing()) - for migration_number, migration_func in migrations_to_run(): + for migration_number, migration_func in migrations_to_run: self.printer( u' + Running migration %s, "%s"... ' % ( migration_number, migration_func.func_name))