diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-29 17:06:19 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-29 17:06:19 -0600 |
commit | ef8591fdd09a4910a590b145d781cdd1e1eff0f4 (patch) | |
tree | a3d098746649d8615d5c55436cae4fdb0f877c44 /mediagoblin/db/sql/util.py | |
parent | 396f39c3e9e5346b4b2e86f6bcce9cdb0c6ee683 (diff) | |
download | mediagoblin-ef8591fdd09a4910a590b145d781cdd1e1eff0f4.tar.lz mediagoblin-ef8591fdd09a4910a590b145d781cdd1e1eff0f4.tar.xz mediagoblin-ef8591fdd09a4910a590b145d781cdd1e1eff0f4.zip |
Yet *another* self.database -> self.database.bind fix!
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 cb8fbf0d..52c57543 100644 --- a/mediagoblin/db/sql/util.py +++ b/mediagoblin/db/sql/util.py @@ -134,7 +134,7 @@ class MigrationManager(object): # sanity check before we proceed, none of these should be created for model in self.models: # Maybe in the future just print out a "Yikes!" or something? - assert not model.__table__.exists(self.database) + assert not model.__table__.exists(self.database.bind) self.migration_model.metadata.create_all( self.database.bind, |