diff options
| author | Ted Ross <tross@apache.org> | 2008-09-24 18:03:01 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-09-24 18:03:01 +0000 |
| commit | f53069721640dcf6eace603f27fd1ed498058950 (patch) | |
| tree | bf469db9c3270df62aa5546af58f2f8f337d1fe2 /qpid/python/commands/qpid-config | |
| parent | 33b5fdce16e414cc52fd4cc07020b25285330dbf (diff) | |
| download | qpid-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-x | qpid/python/commands/qpid-config | 3 |
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) |
