diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-11-19 15:14:14 -0500 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-11-19 15:14:14 -0500 |
commit | 9412fffef1fc7d07ff76c1614c56ff8bd0b1ecbc (patch) | |
tree | e5425258f38105f41e35437c7038d3e9a22771ee /mediagoblin/db/migrations.py | |
parent | 7dfcc538d3a5f9aaedee294d4a870c2676470d68 (diff) | |
download | mediagoblin-9412fffef1fc7d07ff76c1614c56ff8bd0b1ecbc.tar.lz mediagoblin-9412fffef1fc7d07ff76c1614c56ff8bd0b1ecbc.tar.xz mediagoblin-9412fffef1fc7d07ff76c1614c56ff8bd0b1ecbc.zip |
I went through the code and just removed some blank spaces. I also looked it
thru and it looked great.
Diffstat (limited to 'mediagoblin/db/migrations.py')
-rw-r--r-- | mediagoblin/db/migrations.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py index 339bc963..426080a2 100644 --- a/mediagoblin/db/migrations.py +++ b/mediagoblin/db/migrations.py @@ -713,11 +713,10 @@ def drop_MediaEntry_collected(db): Drop unused MediaEntry.collected column """ metadata = MetaData(bind=db.bind) - media_collected= inspect_table(metadata, 'core__media_entries') + media_collected= inspect_table(metadata, 'core__media_entries') media_collected = media_collected.columns['collected'] - media_collected.drop() - + db.commit() |