From 5378b5db98ddc9b0d42ab0095c40e94246fbe2b2 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 19 Mar 2015 22:35:21 -0700 Subject: [PATCH] Minor code formatting --- lib/ansible/modules/cloud/amazon/ec2_asg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_asg.py b/lib/ansible/modules/cloud/amazon/ec2_asg.py index d7be8bb8120..92025c2b23c 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_asg.py +++ b/lib/ansible/modules/cloud/amazon/ec2_asg.py @@ -291,7 +291,7 @@ def wait_for_elb(asg_connection, module, group_name): elb_connection = connect_to_aws(boto.ec2.elb, region, **aws_connect_params) except boto.exception.NoAuthHandlerFound, e: module.fail_json(msg=str(e)) - + wait_timeout = time.time() + wait_timeout healthy_instances = {} @@ -470,7 +470,7 @@ def delete_autoscaling_group(connection, module): group.delete() while len(connection.get_all_groups(names=[group_name])): - time.sleep(5) + time.sleep(5) changed=True return changed else: