mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 16:34:02 -07:00
PEP 8 E111 & E114 cleanup. (#20838)
This commit is contained in:
parent
1609afbd12
commit
cb76200c7d
119 changed files with 339 additions and 378 deletions
|
@ -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']
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue