diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-02 14:04:16 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-29 16:33:45 -0600 |
commit | cbf29f2d5897c90794e6a6f855a4371296e56794 (patch) | |
tree | 201f04dd1b84fb403ae7c74f8d3fd02063ff12c1 /mediagoblin/db/sql/util.py | |
parent | 851df6214ee0332eb45282702524934cdb9ebcf7 (diff) | |
download | mediagoblin-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.py | 2 |
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() |