mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 22:35:08 -02:30
flake8 fix
This commit is contained in:
@@ -507,7 +507,7 @@ class OrganizationList(ListCreateAPIView):
|
|||||||
# by the license, then we are only willing to create this organization
|
# by the license, then we are only willing to create this organization
|
||||||
# if no organizations exist in the system.
|
# if no organizations exist in the system.
|
||||||
if (not feature_enabled('multiple_organizations') and
|
if (not feature_enabled('multiple_organizations') and
|
||||||
self.model.objects.filter(active=True).count() > 0):
|
self.model.objects.filter(active=True).count() > 0):
|
||||||
raise LicenseForbids('Your Tower license only permits a single '
|
raise LicenseForbids('Your Tower license only permits a single '
|
||||||
'organization to exist.')
|
'organization to exist.')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user