summaryrefslogtreecommitdiff
path: root/Lib/SimpleHTTPServer.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 10:26:06 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 10:26:06 +0000
commitcc7e8cca1ad7bd926ba05fbc595c93960af14a93 (patch)
treed22353d3376d235e957031b238e5f2c256b27d92 /Lib/SimpleHTTPServer.py
parent446f723802aaaafce3113c6e176dd257f50b7d37 (diff)
downloadcpython-cc7e8cca1ad7bd926ba05fbc595c93960af14a93.tar.gz
Correction after translation test.
Diffstat (limited to 'Lib/SimpleHTTPServer.py')
-rw-r--r--Lib/SimpleHTTPServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py
index 01a6097639..20ed1166b5 100644
--- a/Lib/SimpleHTTPServer.py
+++ b/Lib/SimpleHTTPServer.py
@@ -130,7 +130,7 @@ class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
"""
path = posixpath.normpath(urllib.unquote(path))
- words = path.splitfields('/')
+ words = path.split('/')
words = filter(None, words)
path = os.getcwd()
for word in words: