aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/migrate.py
diff options
context:
space:
mode:
authorNathan Yergler <nathan@yergler.net>2011-10-01 15:10:02 -0700
committerNathan Yergler <nathan@yergler.net>2011-10-01 15:10:02 -0700
commit243c3843bd574129caa7663e25d1a843b2d2dd30 (patch)
tree0171de5e911010b76e86c689bb5f5f8ce86845db /mediagoblin/gmg_commands/migrate.py
parent573aba86b58c2ab064d0d57ed0bbae6bdf9a2819 (diff)
downloadmediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.tar.lz
mediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.tar.xz
mediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.zip
Whitespace and formatting cleanup.
* Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
Diffstat (limited to 'mediagoblin/gmg_commands/migrate.py')
-rw-r--r--mediagoblin/gmg_commands/migrate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/migrate.py b/mediagoblin/gmg_commands/migrate.py
index 1a597188..e6dd6f78 100644
--- a/mediagoblin/gmg_commands/migrate.py
+++ b/mediagoblin/gmg_commands/migrate.py
@@ -55,13 +55,13 @@ def migrate(args):
for collection, index_name in removed_indexes:
print "Removed index '%s' in collection '%s'" % (
index_name, collection)
-
+
# Migrate
print "\n== Applying migrations... =="
migration_manager.migrate_new(
pre_callback=_print_started_migration,
post_callback=_print_finished_migration)
-
+
# Add new indexes
print "\n== Adding new indexes... =="
new_indexes = db_util.add_new_indexes(db)