[PATCH 1/6] Move exception setup to right after instdata is populated.

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux