[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/6] 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.
---
 anaconda |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/anaconda b/anaconda
index ed9b6ae..0dc5238 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:
-- 
1.6.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]