From 77df6feb973f93a4f3cd834322757db8e72ddf1a Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Wed, 8 Sep 2010 23:00:55 +0000 Subject: remove one more possible ncurses glitch by using a muttex. Also correctly receive the error messages. And little cleanup --- src/poezio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/poezio.py') diff --git a/src/poezio.py b/src/poezio.py index 237f2571..9ce5952a 100644 --- a/src/poezio.py +++ b/src/poezio.py @@ -61,8 +61,8 @@ def exception_handler(type_, value, trace): except: # if an exception is raised but initscr has never been called yet pass traceback.print_exception(type_, value, trace, None, sys.stderr) - # import os # used to quit the program even from a thread - # os.abort() + import os # used to quit the program even from a thread + os.abort() sys.excepthook = exception_handler -- cgit v1.2.3