This incomplete list made it very difficult to diagnose a problem in the rescue mode setup code. --- rescue.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rescue.py b/rescue.py index 688266f..6772f59 100644 --- a/rescue.py +++ b/rescue.py @@ -379,14 +379,15 @@ def runRescue(anaconda, instClass): os.symlink ("/usr/bin/bash", "/bin/bash") except: pass - except: + except Exception: # This looks horrible, but all it does is catch every exception, # and reraise those in the tuple check. This lets programming # errors raise exceptions, while any runtime error will # still result in a shell (exc, val) = sys.exc_info()[0:2] log.error(str(exc)+": "+str(val)) - if exc in (IndexError, ValueError, SyntaxError): + if exc in (IndexError, KeyError, ValueError, SyntaxError, + TypeError, AttributeError): raise exc, val, sys.exc_info()[2] if anaconda.isKickstart: -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list