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 > Redhat > Fedora Marketing

 
 
LinkBack Thread Tools
 
Old 03-09-2010, 12:38 PM
Ales Kozumplik
 
Default exception.py: switch to tty1 after exit (#571697)

so the user knows what's going on and doesn't get a blank screen.
---
exception.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/exception.py b/exception.py
index 65d7008..18f8e4e 100644
--- a/exception.py
+++ b/exception.py
@@ -89,6 +89,14 @@ class AnacondaExceptionHandler(ExceptionHandler):
pdb.post_mortem (tb)
os.kill(os.getpid(), signal.SIGKILL)

+ def runQuit(self, (ty, value, tb)):
+ # see a similar comment at runDebug()
+ try:
+ isys.vtActivate(1)
+ except SystemError:
+ pass
+ sys.exit(self.exitcode)
+
def initExceptionHandling(anaconda):
fileList = [ "/tmp/anaconda.log", "/tmp/lvmout", "/tmp/resize.out",
"/tmp/program.log", "/tmp/storage.log", "/tmp/yum.log",
--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-09-2010, 12:45 PM
Ales Kozumplik
 
Default exception.py: switch to tty1 after exit (#571697)

On 03/09/2010 02:38 PM, Ales Kozumplik wrote:

so the user knows what's going on and doesn't get a blank screen.


Sorry, wrong bug# and wrong description. I've sent a corrected version
of the email to the list.


Ales

_______________________________________________
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 12:28 AM.

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