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 | ba8e5b1129ebb83a601574f349db9701b1511809 (patch) | |
tree | 3ed738d603a5c3ac246cdb2b434763d5375e0994 /python/commands | |
parent | 46cd611c333e71ef4297b47bfa67ed09343191b1 (diff) | |
download | qpid-python-ba8e5b1129ebb83a601574f349db9701b1511809.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/qpid@723008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/commands')
-rwxr-xr-x | python/commands/qpid-config | 2 | ||||
-rwxr-xr-x | python/commands/qpid-route | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/commands/qpid-config b/python/commands/qpid-config index 6bfa6939f1..beec67c826 100755 --- a/python/commands/qpid-config +++ b/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/python/commands/qpid-route b/python/commands/qpid-route index 5733c62a27..e0e655683a 100755 --- a/python/commands/qpid-route +++ b/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() |