From 1d6b31a90f8569029afea5dc8e459529b8c976fb Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 19 Nov 2015 09:28:40 -0800 Subject: [PATCH] fixed break order --- cloud/amazon/ec2_elb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/ec2_elb.py b/cloud/amazon/ec2_elb.py index 5b3b24dacc2..4e19a054bd1 100644 --- a/cloud/amazon/ec2_elb.py +++ b/cloud/amazon/ec2_elb.py @@ -266,9 +266,9 @@ class ElbManager: try: newelbs = elb.get_all_load_balancers(marker=marker) marker = newelbs.next_marker + elbs.extend(newelbs) if not marker: break - elbs.extend(newelbs) except TypeError: # Older version of boto do not allow for params elbs = elb.get_all_load_balancers()