From: Christopher Allan Webber Date: Sun, 29 Jan 2012 23:08:38 +0000 (-0600) Subject: self.latest_migration now a property, so we shouldn't __call__ it! X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9303d47df0ec4779e692529a2791aa2b98e3bc70;p=mediagoblin.git self.latest_migration now a property, so we shouldn't __call__ it! --- diff --git a/mediagoblin/db/sql/util.py b/mediagoblin/db/sql/util.py index 9487d391..a7f5fedf 100644 --- a/mediagoblin/db/sql/util.py +++ b/mediagoblin/db/sql/util.py @@ -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()