diff options
author | Chris Lumens <clumens@redhat.com> | 2009-11-11 11:26:02 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-11-12 09:04:40 -0500 |
commit | 19a90108c1f5b3eb30bece41c0eb975946000639 (patch) | |
tree | 21a466b39613b4c1d1a155016e7c7849542ee60d /anaconda | |
parent | 06b8c8081f3ac6200c7293b8078889dd9df64fae (diff) | |
download | anaconda-19a90108c1f5b3eb30bece41c0eb975946000639.tar.gz anaconda-19a90108c1f5b3eb30bece41c0eb975946000639.tar.xz anaconda-19a90108c1f5b3eb30bece41c0eb975946000639.zip |
Move exception setup to right after instdata is populated.
This allows getting the traceback dialog during kickstart file execution,
instead of just getting a dead UI and an unseen traceback on tty1. We
probably can't move this much earlier due to interface and instdata
requirements.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -969,6 +969,10 @@ if __name__ == "__main__": anaconda.id.setDisplayMode(opts.display_mode) instClass.setInstallData(anaconda) + # comment out the next line to make exceptions non-fatal + from exception import initExceptionHandling + initExceptionHandling(anaconda) + anaconda.setDispatch() # download and run Dogtail script @@ -1047,10 +1051,6 @@ if __name__ == "__main__": else: kickstart.setSteps(anaconda) - # comment out the next line to make exceptions non-fatal - from exception import initExceptionHandling - initExceptionHandling(anaconda) - try: anaconda.intf.run(anaconda) except SystemExit, code: |