diff options
| author | Ted Ross <tross@apache.org> | 2008-12-03 18:43:16 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-12-03 18:43:16 +0000 |
| commit | ceb2e4419fe081d096bacda9966adc705bf3dc73 (patch) | |
| tree | c1cde005ac6972744c7b683bc918bd5b1a43bd17 /qpid/python/commands | |
| parent | 778f7637bea8a154cc05579e80b5ac14ed4bd2da (diff) | |
| download | qpid-python-ceb2e4419fe081d096bacda9966adc705bf3dc73.tar.gz | |
QPID-1512 - Catch only connection-related exceptions in qmf console
connection thread
- Added __hash__ method for UUID in qpid.datatypes
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@723008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/commands')
| -rwxr-xr-x | qpid/python/commands/qpid-config | 2 | ||||
| -rwxr-xr-x | qpid/python/commands/qpid-route | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/commands/qpid-config b/qpid/python/commands/qpid-config index 6bfa6939f1..beec67c826 100755 --- a/qpid/python/commands/qpid-config +++ b/qpid/python/commands/qpid-config @@ -379,7 +379,7 @@ try: else: Usage () except Exception,e: - print "Failed:", e.args[0] + print "Failed:", e.args sys.exit(1) bm.Disconnect() diff --git a/qpid/python/commands/qpid-route b/qpid/python/commands/qpid-route index 5733c62a27..e0e655683a 100755 --- a/qpid/python/commands/qpid-route +++ b/qpid/python/commands/qpid-route @@ -508,7 +508,7 @@ try: Usage() except Exception,e: - print "Failed:", e.args[0] + print "Failed:", e.args sys.exit(1) rm.disconnect() |
