this negation needs parens.

This commit is contained in:
Christopher Allan Webber 2014-08-08 13:12:33 -05:00
parent f2a6db9088
commit 72f42a408d

View File

@ -845,7 +845,7 @@ def revert_username_index(db):
# was set in models.py
users_username_index = indexes.get(u'ix_core__users_username')
if not users_uploader_index or users_username_index:
if not (users_uploader_index or users_username_index):
# We don't need to do anything.
# The database isn't in a state where it needs fixing
#