Fix missing if condition in uses_mongo.

This commit is contained in:
Luke Sneeringer
2015-05-29 12:36:37 -05:00
parent 31d0342d41
commit 38bfc82e98

View File

@@ -38,6 +38,7 @@ class Command(BaseCommand):
uses_mongo = system_tracking # noqa uses_mongo = system_tracking # noqa
# If we do not need Mongo, return a non-zero exit status. # If we do not need Mongo, return a non-zero exit status.
if not uses_mongo:
print('MongoDB NOT required') print('MongoDB NOT required')
sys.exit(1) sys.exit(1)