assert was positive when it should be negative, fixed

This commit is contained in:
Christopher Allan Webber 2012-01-02 14:04:16 -06:00
parent 851df6214e
commit cbf29f2d58

View File

@ -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()