mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
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. :-(
This commit is contained in:
parent
9f7a539afe
commit
0afde13b43
2 changed files with 3 additions and 2 deletions
|
@ -222,8 +222,8 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||||
if self.is_python(scriptfile):
|
if self.is_python(scriptfile):
|
||||||
interp = sys.executable
|
interp = sys.executable
|
||||||
if interp.lower().endswith("w.exe"):
|
if interp.lower().endswith("w.exe"):
|
||||||
# On Windows, use python.exe, not python.exe
|
# On Windows, use python.exe, not pythonw.exe
|
||||||
interp = interp[:-5] = interp[-4:]
|
interp = interp[:-5] + interp[-4:]
|
||||||
cmdline = "%s -u %s" % (interp, cmdline)
|
cmdline = "%s -u %s" % (interp, cmdline)
|
||||||
if '=' not in query and '"' not in query:
|
if '=' not in query and '"' not in query:
|
||||||
cmdline = '%s "%s"' % (cmdline, query)
|
cmdline = '%s "%s"' % (cmdline, query)
|
||||||
|
|
|
@ -397,6 +397,7 @@ Dirk Soede
|
||||||
Paul Sokolovsky
|
Paul Sokolovsky
|
||||||
Clay Spence
|
Clay Spence
|
||||||
Per Spilling
|
Per Spilling
|
||||||
|
Noah Spurrier
|
||||||
Greg Stein
|
Greg Stein
|
||||||
Dan Stromberg
|
Dan Stromberg
|
||||||
Nathan Sullivan
|
Nathan Sullivan
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue