1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Minor indentation fixes on ec2_eip

This commit is contained in:
James Cammarata 2014-07-25 12:41:25 -05:00
parent 3281139981
commit 1134f6169c

View file

@ -143,13 +143,13 @@ def find_address(ec2, public_ip, module):
while wait_timeout > time.time():
try:
addresses = ec2.get_all_addresses([public_ip])
break
addresses = ec2.get_all_addresses([public_ip])
break
except boto.exception.EC2ResponseError, e:
if "Address '%s' not found." % public_ip in e.message :
pass
else:
module.fail_json(msg=str(e.message))
if "Address '%s' not found." % public_ip in e.message :
pass
else:
module.fail_json(msg=str(e.message))
time.sleep(5)
if wait_timeout <= time.time():