summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2010-12-08 18:35:35 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2010-12-08 18:35:35 +0000
commit2161ed11b13a492c694e4ea949f3f08424d6beaa (patch)
treef533e72373749644d5363bf31226ef014f000a20 /extras
parent8fdd3b1b94adf07800687d7c2d100ecc278f87bc (diff)
downloadqpid-python-2161ed11b13a492c694e4ea949f3f08424d6beaa.tar.gz
fix type conversion error
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1043581 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'extras')
-rw-r--r--extras/qmf/src/py/qmf/console.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/qmf/src/py/qmf/console.py b/extras/qmf/src/py/qmf/console.py
index 478b017649..15e12fbb6b 100644
--- a/extras/qmf/src/py/qmf/console.py
+++ b/extras/qmf/src/py/qmf/console.py
@@ -2227,6 +2227,8 @@ class Broker(Thread):
self.port = port
self.mechanisms = authMechs
self.ssl = ssl
+ if connTimeout is not None:
+ connTimeout = float(connTimeout)
self.connTimeout = connTimeout
self.authUser = authUser
self.authPass = authPass