From e48979cba21658045c8ccb7fd17a8fb354fd7984 Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Thu, 24 Apr 2008 15:24:51 +0000 Subject: QPID-953 from tross git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651290 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/commands/qpid-tool | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'qpid/python/commands/qpid-tool') 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): -- cgit v1.2.1