diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:53:56 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:53:56 +0000 |
commit | a5e0181fcc52bd3567bc323d9b09bb197bfcd6a9 (patch) | |
tree | e96801e62568f05a77ebd92e40c21d623fd5d386 /anaconda | |
parent | 177a3bd647a9eb556bba252aa91eef5f74add316 (diff) | |
download | anaconda-a5e0181fcc52bd3567bc323d9b09bb197bfcd6a9.tar.gz anaconda-a5e0181fcc52bd3567bc323d9b09bb197bfcd6a9.tar.xz anaconda-a5e0181fcc52bd3567bc323d9b09bb197bfcd6a9.zip |
We don't need system-config-keyboard in the path here anymore. Fix up
exception handling to use anaconda object.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -301,7 +301,6 @@ def setupPythonPath(): else: sys.path.append('/usr/lib/booty') - sys.path.append('/usr/share/system-config-keyboard') sys.path.append('/usr/share/system-config-date') def setupTranslations(): @@ -933,14 +932,14 @@ if __name__ == "__main__": instClass.setSteps(anaconda.dispatch) # comment out the next line to make exceptions non-fatal - sys.excepthook = lambda type, value, tb, dispatch=anaconda.dispatch, intf=anaconda.intf: handleException(anaconda.dispatch, anaconda.intf, (type, value, tb)) + sys.excepthook = lambda type, value, tb, anaconda=anaconda: handleException(anaconda, (type, value, tb)) try: anaconda.intf.run(anaconda.id, anaconda.dispatch) except SystemExit, code: anaconda.intf.shutdown() except: - handleException(anaconda.dispatch, anaconda.intf, sys.exc_info()) + handleException(anaconda, sys.exc_info()) if anaconda.isKickstart and instClass.ksdata.reboot["eject"]: isys.flushDriveDict() |