Correct BotoServerError typo in ec2 module

Resolves a traceback due to an undefined 'BotoSeverError' exception.
reviewable/pr18780/r1
James Laska 10 years ago
parent 6e2c35c65c
commit 9561cbcc8d

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

Loading…
Cancel
Save