Please don't hate on flake8

This commit is contained in:
James Laska
2015-06-05 12:46:07 -04:00
parent fbe82d9348
commit 53b16c09e8
2 changed files with 6 additions and 9 deletions

View File

@@ -237,8 +237,7 @@ class ApiV1ConfigView(APIView):
# Sanity check: If this license includes system tracking, make
# sure that we have a valid MongoDB to point to, and complain if
# we do not.
if (license_data['features']['system_tracking'] and
settings.MONGO_HOST == NotImplemented): # noqa
if (license_data['features']['system_tracking'] and settings.MONGO_HOST == NotImplemented):
return Response({
'error': 'This license supports system tracking, which '
'requires MongoDB to be installed. Since you are '