summaryrefslogtreecommitdiff
path: root/qpid/python/commands/qpid-config
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-09-24 18:03:01 +0000
committerTed Ross <tross@apache.org>2008-09-24 18:03:01 +0000
commitf53069721640dcf6eace603f27fd1ed498058950 (patch)
treebf469db9c3270df62aa5546af58f2f8f337d1fe2 /qpid/python/commands/qpid-config
parent33b5fdce16e414cc52fd4cc07020b25285330dbf (diff)
downloadqpid-python-f53069721640dcf6eace603f27fd1ed498058950.tar.gz
Added event handling, did some code cleanup and fixed some small bugs
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@698678 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/commands/qpid-config')
-rwxr-xr-xqpid/python/commands/qpid-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/python/commands/qpid-config b/qpid/python/commands/qpid-config
index 6bc38c7440..0998c58bce 100755
--- a/qpid/python/commands/qpid-config
+++ b/qpid/python/commands/qpid-config
@@ -268,7 +268,7 @@ nargs = len (cargs)
bm = BrokerManager ()
try:
- bm.SetBroker(qmfconsole.BrokerURL(_host))
+ bm.SetBroker(_host)
if nargs == 0:
bm.Overview ()
else:
@@ -307,6 +307,7 @@ try:
else:
Usage ()
except Exception,e:
+ raise
print "Failed:", e.message
sys.exit(1)