diff options
author | Matt Wilson <msw@redhat.com> | 2001-12-13 02:17:08 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-12-13 02:17:08 +0000 |
commit | 70cddbb94c7df52c60660da2919d6ee18192b869 (patch) | |
tree | 21d3e0521e7cd8f9a596f03910ca544a84035c69 /anaconda | |
parent | 509ffea2f75dc8968256f11a8b107c8b09c1ff41 (diff) | |
download | anaconda-70cddbb94c7df52c60660da2919d6ee18192b869.tar.gz anaconda-70cddbb94c7df52c60660da2919d6ee18192b869.tar.xz anaconda-70cddbb94c7df52c60660da2919d6ee18192b869.zip |
use the new exception hook for handle all exceptions when they happen
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -617,6 +617,9 @@ instClass.setSteps(dispatch) # instClass.addToSkipList("mouse") # instClass.setMouseType("Sun - Mouse", "sunmouse") +# comment out the next line to make exceptions non-fatal +sys.excepthook = lambda type, value, tb, dispatch=dispatch, intf=intf: handleException(dispatch, intf, (type, value, tb)) + try: intf.run(id, dispatch, configFileData) except SystemExit, code: |