From 623ef741053c9c213b526787a0631c71b90df186 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 1 Jun 2011 16:01:15 -0400 Subject: guarantee that timeout is a float --- src/lib/Proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py index ed33316af..9656b166c 100644 --- a/src/lib/Proxy.py +++ b/src/lib/Proxy.py @@ -332,5 +332,5 @@ def ComponentProxy(url, user=None, password=None, else: newurl = url ssl_trans = XMLRPCTransport(key, cert, ca, - allowedServerCNs, timeout=timeout) + allowedServerCNs, timeout=float(timeout)) return xmlrpclib.ServerProxy(newurl, allow_none=True, transport=ssl_trans) -- cgit v1.2.3-1-g7c22