mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Please don't hate on flake8
This commit is contained in:
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user