diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | exception.py | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -13,6 +13,9 @@ * cmdline.py: Use anaconda object. + * exception.py (handleException): Fix traceback in exception handler + for cmdline mode. + 2006-05-08 David Cantrell <dcantrell@redhat.com> * loader2/net.c: Changes to inet_pton() and stuff preparing for IPv6 diff --git a/exception.py b/exception.py index 2cc18e1e8..06f095a46 100644 --- a/exception.py +++ b/exception.py @@ -25,6 +25,7 @@ import types import rpm import bdb import rhpl +import time from string import joinfields from cPickle import Pickler from rhpl.translate import _ @@ -342,6 +343,10 @@ def handleException(anaconda, (type, value, tb)): win = anaconda.intf.exceptionWindow(text, "/tmp/anacdump.txt") + if not win: + anaconda.intf.__del__() + os.kill(os.getpid(), signal.SIGKILL) + while 1: win.run() rc = win.getrc() |