summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-30 21:37:12 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-30 21:37:12 +0000
commitde096bdccaf29c0c66b3672e0d9a324f7e88236b (patch)
tree6acfc45fb4d247f67e835b2b3df60bc7002edc60 /rescue.py
parent428ee38097c170f1771999dc5abda1728bdefbe6 (diff)
downloadanaconda-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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rescue.py b/rescue.py
index a13a3b00b..dc7256128 100644
--- a/rescue.py
+++ b/rescue.py
@@ -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"),