summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-06-01 16:01:15 -0400
committerSol Jerome <sol.jerome@gmail.com>2011-06-14 12:36:46 -0500
commitab956d76bd20b458195ade8efd2cafb590bb3217 (patch)
treedee5d09c1d08a02b29a4ea209ca1b1be516cd0ce
parent3f13297b48c511de37c2a3233780d07d089c9993 (diff)
downloadbcfg2-ab956d76bd20b458195ade8efd2cafb590bb3217.tar.gz
bcfg2-ab956d76bd20b458195ade8efd2cafb590bb3217.tar.bz2
bcfg2-ab956d76bd20b458195ade8efd2cafb590bb3217.zip
guarantee that timeout is a float
-rw-r--r--src/lib/Proxy.py2
1 files changed, 1 insertions, 1 deletions
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)