[PATCH 2/4] Destroy main window after running it
Vratislav Podzimek
vpodzime at redhat.com
Tue Jan 15 13:32:12 UTC 2013
Also put an empty line before the pdb session to make the help
comment more visible.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
meh/handler.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meh/handler.py b/meh/handler.py
index ffa638c..6338cf2 100644
--- a/meh/handler.py
+++ b/meh/handler.py
@@ -22,6 +22,7 @@ import os
from network import hasActiveNetDev
import signal
import sys
+import report
import gettext
_ = lambda x: gettext.ldgettext("python-meh", x)
@@ -109,6 +110,7 @@ class ExceptionHandler(object):
self.runQuit((ty, value, tb))
rc = win.run()
+ win.destroy()
try:
responseHash[rc]((ty, value, tb))
@@ -186,6 +188,8 @@ class ExceptionHandler(object):
be overridden by a subclass if specialized behavior is required to
enter debug mode.
"""
+
+ print
print "Use 'continue' command to quit the debugger and get back to "\
"the main menu"
import pdb
--
1.7.11.7
More information about the anaconda-patches
mailing list