[newui] Get back to python-meh UI in exception handling

Vratislav Podzimek vpodzime at redhat.com
Tue Jul 17 14:30:31 UTC 2012


PATCH 1/3 replaces the temporary code for saving the traceback with python-meh's
ui invocation. It also adds sys.exit(0) call to the end of the showError method
which conforms to the documentation in the pyanaconda/ui/__init__.py
(see e6f4db9d93a95ad932bf733c585b336db34c1d56 for the original code)

PATCH 2/3 removes the os.kill call that killed anaconda when the pdb session was
quit which left no way to report a bug with the python-meh/libreport ui.
Moreover it adds an attempt to switch back to tty6 when the pdb session is quit.

I believe we have finally settled on the python-meh's main window look and I can
build a new version tomorrow. The related libreport patch is going to be pushed
soon and a new build of libreport will follow in the end of this week. Once
these steps are done, I'd like to push these patches to start using python-meh
gui in the newui images.

Vratislav Podzimek (3):
  Get back to python-meh UI in exception handling
  Just switch back to tty6 when 'c' is used in the post-mortem pdb
    session
  Display the hint how to quit the debugger

 pyanaconda/exception.py       |   26 +++++++++++++++-----------
 pyanaconda/ui/gui/__init__.py |    2 ++
 2 files changed, 17 insertions(+), 11 deletions(-)

-- 
1.7.4.4



More information about the anaconda-patches mailing list