summaryrefslogtreecommitdiff
path: root/qpid/python/commands/qpid-tool
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-04-24 15:24:51 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-04-24 15:24:51 +0000
commite48979cba21658045c8ccb7fd17a8fb354fd7984 (patch)
tree78f8717dfc7898d92d08627a9c17cdf5b604e7f5 /qpid/python/commands/qpid-tool
parent506e9145d1be22eb13560ec34658334d5211e5c7 (diff)
downloadqpid-python-e48979cba21658045c8ccb7fd17a8fb354fd7984.tar.gz
QPID-953 from tross
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/commands/qpid-tool')
-rwxr-xr-xqpid/python/commands/qpid-tool8
1 files changed, 8 insertions, 0 deletions
diff --git a/qpid/python/commands/qpid-tool b/qpid/python/commands/qpid-tool
index 02579b9d35..1aee3a1b7f 100755
--- a/qpid/python/commands/qpid-tool
+++ b/qpid/python/commands/qpid-tool
@@ -111,9 +111,17 @@ class Mcli (Cmd):
def do_EOF (self, data):
print "quit"
+ try:
+ self.dataObject.do_exit ()
+ except:
+ pass
return True
def do_quit (self, data):
+ try:
+ self.dataObject.do_exit ()
+ except:
+ pass
return True
def postcmd (self, stop, line):