Correct BotoServerError typo in ec2 module

Resolves a traceback due to an undefined 'BotoSeverError' exception.
This commit is contained in:
James Laska 2014-07-26 12:11:25 -04:00
parent f814e4e463
commit d51e10a3f4

View file

@ -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