Correct BotoServerError typo in ec2 module

Resolves a traceback due to an undefined 'BotoSeverError' exception.
pull/8149/head^2
James Laska 10 years ago
parent f814e4e463
commit d51e10a3f4

@ -923,7 +923,7 @@ def create_instances(module, ec2, override_count=None):
while wait_timeout > time.time() and num_running < len(instids):
try:
res_list = ec2.get_all_instances(instids)
except boto.exception.BotoSeverError, e:
except boto.exception.BotoServerError, e:
if e.error_code == 'InvalidInstanceID.NotFound':
time.sleep(1)
continue

Loading…
Cancel
Save