summaryrefslogtreecommitdiff
path: root/python/qpid/brokertest.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/brokertest.py')
-rw-r--r--python/qpid/brokertest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/brokertest.py b/python/qpid/brokertest.py
index cea976652f..a42e71c25b 100644
--- a/python/qpid/brokertest.py
+++ b/python/qpid/brokertest.py
@@ -149,7 +149,7 @@ class Broker(Popen):
Popen.__init__(self, cmd, expect)
try: self.port = int(self.stdout.readline())
- except Exception, e:
+ except ValueError, e:
raise Exception("Failed to start broker %s (%s)" % (self.name, self.pname))
test.cleanup_stop(self)
self.host = "localhost" # Placeholder for remote brokers.