Merge pull request #11766 from Zokormazo/collection-pep8

pep8 E231 fix for awx_collection
This commit is contained in:
Julen Landa Alustiza 2022-02-17 13:21:23 +01:00 committed by GitHub
commit f6e4e53728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,9 @@ def main():
association_fields['galaxy_credentials'].append(module.resolve_name_to_id('credentials', item))
# Create the data that gets sent for create and update
org_fields = {'name': new_name if new_name else (module.get_item_name(organization) if organization else name),}
org_fields = {
'name': new_name if new_name else (module.get_item_name(organization) if organization else name),
}
if description is not None:
org_fields['description'] = description
if default_ee is not None: