PEP 8 cleanup. (#20790)

* PEP 8 E115 cleanup.
* PEP 8 E131 cleanup.
This commit is contained in:
Matt Clay 2017-01-28 01:39:40 -08:00 committed by GitHub
commit e2c0b375d3
23 changed files with 51 additions and 57 deletions

View file

@ -450,12 +450,12 @@ def main():
except Exception as e:
module.fail_json(msg=unexpected_error_msg(e), changed=False)
if network:
# json_output['d4'] = 'deleting %s' % name
# json_output['d4'] = 'deleting %s' % name
try:
gce.ex_destroy_network(network)
except Exception as e:
module.fail_json(msg=unexpected_error_msg(e), changed=False)
# json_output['d5'] = 'deleted %s' % name
# json_output['d5'] = 'deleted %s' % name
changed = True
json_output['changed'] = changed

View file

@ -181,12 +181,12 @@ def main():
pem_file=dict(type='path'),
project_id=dict(),
),
mutually_exclusive=[
mutually_exclusive=[
[ 'instance_name', 'instance_pattern' ]
],
],
required_one_of=[
[ 'instance_name', 'instance_pattern' ]
]
]
)
instance_name = module.params.get('instance_name')