Merge pull request #420 from drfickle/route53_float_fix

route53 module retry_interval needs to be a float before passing to time.sleep
reviewable/pr18780/r1
Brian Coca 10 years ago
commit 71224c8678

@ -162,7 +162,7 @@ def commit(changes, retry_interval):
code = code.split("</Code>")[0] code = code.split("</Code>")[0]
if code != 'PriorRequestNotComplete' or retry < 0: if code != 'PriorRequestNotComplete' or retry < 0:
raise e raise e
time.sleep(retry_interval) time.sleep(float(retry_interval))
def main(): def main():
argument_spec = ec2_argument_spec() argument_spec = ec2_argument_spec()

Loading…
Cancel
Save