[PATCH 5/5] Don't attempt to catch and re-raise a SystemError from AnacondaThread.run.

Chris Lumens clumens at redhat.com
Mon Sep 24 19:27:27 UTC 2012


Python will detect a thread has raised a SystemError and throw it away, so what
I was trying to do here doesn't actually work.
---
 pyanaconda/threads.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/threads.py b/pyanaconda/threads.py
index 74c5340..2119a7f 100644
--- a/pyanaconda/threads.py
+++ b/pyanaconda/threads.py
@@ -85,7 +85,7 @@ class AnacondaThread(threading.Thread):
 
         try:
             threading.Thread.run(self, *args, **kwargs)
-        except (KeyboardInterrupt, SystemExit):
+        except KeyboardInterrupt:
             raise
         except:
             sys.excepthook(*sys.exc_info())
-- 
1.7.11.2



More information about the anaconda-patches mailing list