Remove print statments from this migration.

The reason for wanting to give extra information to the user (this is
a very special case migration) is good, but we don't have a nice
"official" way to capture and present that information during tests,
so removing this.
This commit is contained in:
Christopher Allan Webber 2012-12-10 16:14:28 -06:00
parent a64abbb10a
commit 78fd5581a9

View File

@ -181,10 +181,9 @@ def fix_CollectionItem_v0_constraint(db_conn):
try: try:
constraint.create() constraint.create()
except ProgrammingError as exc: except ProgrammingError:
print "***", repr(exc) # User probably has an install that was run since the
print "***", repr(exc.statement) # collection tables were added, so we don't need to run this migration.
print "***", repr(exc.params) pass
print "***", repr(exc.orig)
print "*** Ignoring it, you probably have a fresh install from a recent git."
db_conn.commit() db_conn.commit()