summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-06-01 16:01:15 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-06-01 16:01:15 -0400
commit623ef741053c9c213b526787a0631c71b90df186 (patch)
treedee5d09c1d08a02b29a4ea209ca1b1be516cd0ce /src
parent927f5d957d76f8743b1ae812b5f915588fcb8de6 (diff)
downloadbcfg2-623ef741053c9c213b526787a0631c71b90df186.tar.gz
bcfg2-623ef741053c9c213b526787a0631c71b90df186.tar.bz2
bcfg2-623ef741053c9c213b526787a0631c71b90df186.zip
guarantee that timeout is a float
Diffstat (limited to 'src')
-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)