summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-04 19:53:56 +0000
committerChris Lumens <clumens@redhat.com>2006-05-04 19:53:56 +0000
commita5e0181fcc52bd3567bc323d9b09bb197bfcd6a9 (patch)
treee96801e62568f05a77ebd92e40c21d623fd5d386 /anaconda
parent177a3bd647a9eb556bba252aa91eef5f74add316 (diff)
downloadanaconda-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-xanaconda5
1 files changed, 2 insertions, 3 deletions
diff --git a/anaconda b/anaconda
index 563fd970e..30ded4793 100755
--- a/anaconda
+++ b/anaconda
@@ -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()