diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-06-01 16:01:15 -0400 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-06-14 12:36:46 -0500 |
commit | ab956d76bd20b458195ade8efd2cafb590bb3217 (patch) | |
tree | dee5d09c1d08a02b29a4ea209ca1b1be516cd0ce | |
parent | 3f13297b48c511de37c2a3233780d07d089c9993 (diff) | |
download | bcfg2-ab956d76bd20b458195ade8efd2cafb590bb3217.tar.gz bcfg2-ab956d76bd20b458195ade8efd2cafb590bb3217.tar.bz2 bcfg2-ab956d76bd20b458195ade8efd2cafb590bb3217.zip |
guarantee that timeout is a float
-rw-r--r-- | src/lib/Proxy.py | 2 |
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) |