[Python-checkins] CVS: python/dist/src/Lib CGIHTTPServer.py,1.19,1.20
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 25 Oct 2001 20:38:16 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv384
Modified Files:
CGIHTTPServer.py
Log Message:
Fix two typos, one noted by Noah Spurrier in SF bug #475166, the
second noted after a second's thought about what the next line should
do. :-(
Index: CGIHTTPServer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/CGIHTTPServer.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** CGIHTTPServer.py 2001/10/17 06:44:58 1.19
--- CGIHTTPServer.py 2001/10/26 03:38:14 1.20
***************
*** 223,228 ****
interp = sys.executable
if interp.lower().endswith("w.exe"):
! # On Windows, use python.exe, not python.exe
! interp = interp[:-5] = interp[-4:]
cmdline = "%s -u %s" % (interp, cmdline)
if '=' not in query and '"' not in query:
--- 223,228 ----
interp = sys.executable
if interp.lower().endswith("w.exe"):
! # On Windows, use python.exe, not pythonw.exe
! interp = interp[:-5] + interp[-4:]
cmdline = "%s -u %s" % (interp, cmdline)
if '=' not in query and '"' not in query: