aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/util.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2012-01-02 14:04:16 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-01-29 16:33:45 -0600
commitcbf29f2d5897c90794e6a6f855a4371296e56794 (patch)
tree201f04dd1b84fb403ae7c74f8d3fd02063ff12c1 /mediagoblin/db/sql/util.py
parent851df6214ee0332eb45282702524934cdb9ebcf7 (diff)
downloadmediagoblin-cbf29f2d5897c90794e6a6f855a4371296e56794.tar.lz
mediagoblin-cbf29f2d5897c90794e6a6f855a4371296e56794.tar.xz
mediagoblin-cbf29f2d5897c90794e6a6f855a4371296e56794.zip
assert was positive when it should be negative, fixed
Diffstat (limited to 'mediagoblin/db/sql/util.py')
-rw-r--r--mediagoblin/db/sql/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/sql/util.py b/mediagoblin/db/sql/util.py
index dfc36a61..604f040c 100644
--- a/mediagoblin/db/sql/util.py
+++ b/mediagoblin/db/sql/util.py
@@ -107,7 +107,7 @@ class MigrationManager(object):
Note that this will fail if there's no migration record for
this class!
"""
- assert self.database_current_migration is None
+ assert self.database_current_migration is not None
db_current_migration = self.database_current_migration()