From 6e2c35c65c53532e6bb66b15c8dc852d3b4ff064 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 25 Jul 2014 12:41:25 -0500 Subject: [PATCH] Minor indentation fixes on ec2_eip --- cloud/ec2_eip | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cloud/ec2_eip b/cloud/ec2_eip index eaaf4330d90..92e249b66c4 100644 --- a/cloud/ec2_eip +++ b/cloud/ec2_eip @@ -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():