self.latest_migration now a property, so we shouldn't __call__ it!
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:08:38 +0000 (17:08 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:08:38 +0000 (17:08 -0600)
mediagoblin/db/sql/util.py

index 9487d39161f5db6ab3d5d316c99aa20cac2b1cfb..a7f5fedf99cecf33e86eb84f40ad1030303e4c70 100644 (file)
@@ -146,7 +146,7 @@ class MigrationManager(object):
         """
         migration_record = self.migration_model(
             name=self.name,
-            version=self.latest_migration())
+            version=self.latest_migration)
         self.session.add(migration_record)
         self.session.commit()