diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-08-30 21:37:12 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-08-30 21:37:12 +0000 |
commit | de096bdccaf29c0c66b3672e0d9a324f7e88236b (patch) | |
tree | 6acfc45fb4d247f67e835b2b3df60bc7002edc60 /rescue.py | |
parent | 428ee38097c170f1771999dc5abda1728bdefbe6 (diff) | |
download | anaconda-de096bdccaf29c0c66b3672e0d9a324f7e88236b.tar.gz anaconda-de096bdccaf29c0c66b3672e0d9a324f7e88236b.tar.xz anaconda-de096bdccaf29c0c66b3672e0d9a324f7e88236b.zip |
why did this disappear? with most exceptions for mounting the root fs in rescue mode we just want to warn that something weird may have happened but not give them a traceback (and let them have their shell)
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -156,8 +156,7 @@ def runRescue(instPath, mountroot, id): # errors raise exceptions, while any runtime error will # still result in a shell. (exc, val) = sys.exc_info()[0:2] - #if exc in (IndexError, ValueError, SyntaxError): - if 1: + if exc in (IndexError, ValueError, SyntaxError): raise exc, val, sys.exc_info()[2] ButtonChoiceWindow(screen, _("Rescue"), |