Mailing List Archive

CVS: python/dist/src/Mac/Tools/IDE PythonIDEMain.py,1.17,1.18
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv4122

Modified Files:
PythonIDEMain.py
Log Message:
repair damage: now works again as a CFM app.

Index: PythonIDEMain.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PythonIDEMain.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** PythonIDEMain.py 29 Mar 2002 21:23:47 -0000 1.17
--- PythonIDEMain.py 29 Mar 2002 21:47:56 -0000 1.18
***************
*** 47,51 ****
# itself.
debug_stderr = None
! if sys.argv[1] == '-D':
debug_stderr = sys.stderr
del sys.argv[1]
--- 47,51 ----
# itself.
debug_stderr = None
! if len(sys.argv) >= 2 and sys.argv[1] == '-D':
debug_stderr = sys.stderr
del sys.argv[1]