From c03ec202a7519acc7a95118de3115b5894054518 Mon Sep 17 00:00:00 2001 From: Steve Fox Date: Mon, 1 Dec 2014 14:21:52 -0600 Subject: [PATCH] retry_interval needs to be a float before passing to time.sleep --- cloud/amazon/route53.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/route53.py b/cloud/amazon/route53.py index b3878e0580e..9c8f54f123f 100644 --- a/cloud/amazon/route53.py +++ b/cloud/amazon/route53.py @@ -160,7 +160,7 @@ def commit(changes, retry_interval): code = code.split("")[0] if code != 'PriorRequestNotComplete' or retry < 0: raise e - time.sleep(retry_interval) + time.sleep(float(retry_interval)) def main(): argument_spec = ec2_argument_spec()