diff options
author | Guido van Rossum <guido@python.org> | 2001-10-26 03:38:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-26 03:38:46 (GMT) |
commit | 0afde13b435f484ecbc3e95107d2318415f21d29 (patch) | |
tree | ed7024bee0e7a7948d5059568188d734282ffb29 | |
parent | 9f7a539afe2b8af80e603aceadf9bb992caaf047 (diff) | |
download | cpython-0afde13b435f484ecbc3e95107d2318415f21d29.zip cpython-0afde13b435f484ecbc3e95107d2318415f21d29.tar.gz cpython-0afde13b435f484ecbc3e95107d2318415f21d29.tar.bz2 |
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. :-(
-rw-r--r-- | Lib/CGIHTTPServer.py | 4 | ||||
-rw-r--r-- | Misc/ACKS | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py index e8abd22..e724601 100644 --- a/Lib/CGIHTTPServer.py +++ b/Lib/CGIHTTPServer.py @@ -222,8 +222,8 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): if self.is_python(scriptfile): interp = sys.executable if interp.lower().endswith("w.exe"): - # On Windows, use python.exe, not python.exe - interp = interp[:-5] = interp[-4:] + # 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: cmdline = '%s "%s"' % (cmdline, query) @@ -397,6 +397,7 @@ Dirk Soede Paul Sokolovsky Clay Spence Per Spilling +Noah Spurrier Greg Stein Dan Stromberg Nathan Sullivan |