FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-11-2009, 05:43 PM
Chris Lumens
 
Default 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
 

Thread Tools




All times are GMT. The time now is 02:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org