mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
flake8
This commit is contained in:
@@ -239,7 +239,7 @@ class ApiV1ConfigView(APIView):
|
|||||||
# sure that we have a valid MongoDB to point to, and complain if
|
# sure that we have a valid MongoDB to point to, and complain if
|
||||||
# we do not.
|
# we do not.
|
||||||
if ('features' in license_data and 'system_tracking' in license_data['features'] and
|
if ('features' in license_data and 'system_tracking' in license_data['features'] and
|
||||||
license_data['features']['system_tracking'] and settings.MONGO_HOST == NotImplemented):
|
license_data['features']['system_tracking'] and settings.MONGO_HOST == NotImplemented):
|
||||||
return Response({
|
return Response({
|
||||||
'error': 'This license supports system tracking, which '
|
'error': 'This license supports system tracking, which '
|
||||||
'requires MongoDB to be installed. Since you are '
|
'requires MongoDB to be installed. Since you are '
|
||||||
|
|||||||
Reference in New Issue
Block a user