Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Move exception setup to right after instdata is populated. (http://www.linux-archive.org/ubuntu-user/278901-move-exception-setup-right-after-instdata-populated.html)

Chris Lumens 11-11-2009 05:43 PM

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

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


All times are GMT. The time now is 05:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.