From: Robin Dunn Date: Fri, 7 May 2004 19:36:15 +0000 (+0000) Subject: Patch #930307, really exit if wrong python on the mac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/30210c7d61eec21dcda889f39c39e1f421908b7f?ds=inline Patch #930307, really exit if wrong python on the mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index 4788189044..5ea24fb4e8 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -133,6 +133,8 @@ This program needs access to the screen. Please run with 'pythonw', not 'python', and only when you are logged in on the main display of your Mac.""" _sys.exit(1) + except SystemExit: + raise except: pass