[master] Exception handling related patches

Vratislav Podzimek vpodzime at redhat.com
Tue Mar 26 13:51:14 UTC 2013


These are patches that fix and enhance behaviour of exception handling
in some specific cases.

PATCH 1/3 adds the code that moves exception handling in text mode to the main
thread even if an exception appears in a non-main thread. This is needed for
various reasons and it is implemented using the asynchronous message handling in
text mode. The basic idea is described in the commit message. And it needs a
patch for python-meh that is being proposed so that we can tell python-meh to
use our raw_input instead of the standard one that doesn't work with threads.

PATCH 2/3 only adds some logging that becomes really handy in case exception
handling doesn't work as expected.

PATCH 3/3 fixes the issue with the rescue mode. It adds some needed pieces to
the RescueInterface, moves the creation of its instance to a better place and
adds a class for exception handling interface correclty shutting down snack
before running the exception handler.

Vratislav Podzimek (3):
  Run exception handling in the main thread also in TUI
  Add logging to exception handling
  Make exception handling in the rescue mode work

 anaconda                             |  8 ++--
 pyanaconda/exception.py              | 85 ++++++++++++++++++++++++++----------
 pyanaconda/rescue.py                 | 25 +++++++++--
 pyanaconda/ui/tui/__init__.py        | 27 +++++++++++-
 pyanaconda/ui/tui/simpleline/base.py | 36 +++++++++++----
 5 files changed, 141 insertions(+), 40 deletions(-)

-- 
1.7.11.7



More information about the anaconda-patches mailing list