Update the string outputs to match our tests: newlines, ...->:, etc.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 30 Jan 2012 03:45:05 +0000 (21:45 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 30 Jan 2012 03:45:05 +0000 (21:45 -0600)
mediagoblin/db/sql/util.py

index 17c8bf8a549813eaa81ff01315e707c3b55fcf23..731593f613702a012084353e2f558c8b1704398e 100644 (file)
@@ -212,13 +212,13 @@ class MigrationManager(object):
         migrations_to_run = self.migrations_to_run()
         if migrations_to_run:
             self.printer(
-                u'~> Updating %s:\n' % self.name_for_printing())
+                u'-> Updating %s:\n' % self.name_for_printing())
             for migration_number, migration_func in migrations_to_run:
                 self.printer(
                     u'   + Running migration %s, "%s"... ' % (
                         migration_number, migration_func.func_name))
                 migration_func(self.session)
-                self.printer('done.')
+                self.printer('done.\n')
 
             return u'migrated'