From 1ce726abfc951c5c5c5a7da4d500b84f2f18e19d Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Mon, 5 Jun 2000 20:57:40 +0000 Subject: pass exit error on up --- gui.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gui.py b/gui.py index 812a3a235..231552fb3 100755 --- a/gui.py +++ b/gui.py @@ -174,8 +174,9 @@ class GtkMainThread (Thread): threads_enter () try: mainloop () - except SystemExit: - pass + except SystemExit, code: + # pass exit on down + raise SystemExit, code except: ExceptionWindow () threads_leave () @@ -674,8 +675,8 @@ class InstallControlWindow (Thread): threads_enter () try: self.main () - except SystemExit: - pass + except SystemExit, code: + raise SystemExit, code except: threads_leave() mainquit() -- cgit