[PATCH 0/2] Exception reporting from threads

Brian C. Lane bcl at redhat.com
Thu Jan 24 23:21:07 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

I have tested this against 18.37.11 and it works in that it will raise (and
display) an exception from within a thread. It depends on something calling
.wait() though, so it won't catch exceptions in threads that are
fire-and-forget.

Brian C. Lane (2):
  Add error reporting to threadMgr
  Use threadMgr.wait to check threads

 pyanaconda/packaging/__init__.py     |  8 ++------
 pyanaconda/packaging/livepayload.py  |  4 +---
 pyanaconda/threads.py                | 29 +++++++++++++++++++++++++++++
 pyanaconda/ui/gui/spokes/custom.py   |  4 +---
 pyanaconda/ui/gui/spokes/network.py  |  4 +---
 pyanaconda/ui/gui/spokes/software.py | 12 +++---------
 pyanaconda/ui/gui/spokes/source.py   |  8 ++------
 pyanaconda/ui/gui/spokes/storage.py  |  4 +---
 pyanaconda/ui/tui/spokes/storage.py  | 12 ++++--------
 9 files changed, 44 insertions(+), 41 deletions(-)

-- 
1.8.0.2



More information about the anaconda-patches mailing list