mirror of
https://github.com/ansible/awx.git
synced 2026-03-26 21:35:01 -02:30
Update to comply with new black rules
This commit is contained in:
@@ -12,7 +12,7 @@ logger = logging.getLogger('awx.sso.common')
|
||||
|
||||
def get_orgs_by_ids():
|
||||
existing_orgs = {}
|
||||
for (org_id, org_name) in Organization.objects.all().values_list('id', 'name'):
|
||||
for org_id, org_name in Organization.objects.all().values_list('id', 'name'):
|
||||
existing_orgs[org_name] = org_id
|
||||
return existing_orgs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user