mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
PEP 8 E111 & E114 cleanup. (#20838)
This commit is contained in:
@@ -201,7 +201,7 @@ def _get_net_id(neutron, module):
|
||||
except Exception as e:
|
||||
module.fail_json("Error in listing neutron networks: %s" % e.message)
|
||||
if not networks['networks']:
|
||||
return None
|
||||
return None
|
||||
return networks['networks'][0]['id']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user