diff options
author | Just van Rossum <just@letterror.com> | 2002-03-29 21:47:56 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2002-03-29 21:47:56 (GMT) |
commit | 8bb61c8d4cc3cd3b75f4413442625a8620d054e3 (patch) | |
tree | 7aaf219c6f46f52a829e7e8d0b2fc20fd15b8538 | |
parent | 9a38947fbae211390a0e02f38bebf0a8a48a4749 (diff) | |
download | cpython-8bb61c8d4cc3cd3b75f4413442625a8620d054e3.zip cpython-8bb61c8d4cc3cd3b75f4413442625a8620d054e3.tar.gz cpython-8bb61c8d4cc3cd3b75f4413442625a8620d054e3.tar.bz2 |
repair damage: now works again as a CFM app.
-rw-r--r-- | Mac/Tools/IDE/PythonIDEMain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py index 51072e1..1b2b3b7 100644 --- a/Mac/Tools/IDE/PythonIDEMain.py +++ b/Mac/Tools/IDE/PythonIDEMain.py @@ -46,7 +46,7 @@ class PythonIDE(Wapplication.Application): # With -D option (OSX command line only) keep stderr, for debugging the IDE # itself. debug_stderr = None - if sys.argv[1] == '-D': + if len(sys.argv) >= 2 and sys.argv[1] == '-D': debug_stderr = sys.stderr del sys.argv[1] PyConsole.installoutput() |