summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-11-11 11:26:02 -0500
committerChris Lumens <clumens@redhat.com>2009-11-12 09:04:40 -0500
commit19a90108c1f5b3eb30bece41c0eb975946000639 (patch)
tree21a466b39613b4c1d1a155016e7c7849542ee60d /anaconda
parent06b8c8081f3ac6200c7293b8078889dd9df64fae (diff)
downloadanaconda-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-xanaconda8
1 files changed, 4 insertions, 4 deletions
diff --git a/anaconda b/anaconda
index ed9b6ae67..0dc52382e 100755
--- a/anaconda
+++ b/anaconda
@@ -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: