summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 10:26:06 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 10:26:06 (GMT)
commit304b6a32257a1e42c043c6c8c8ddd4360a7baa4f (patch)
treebec9c81c72542c626ee8b065d1e061ea7f103cdc
parent0c03cc203f45b6be20b9bc61833da98ec22be6f2 (diff)
downloadcpython-304b6a32257a1e42c043c6c8c8ddd4360a7baa4f.zip
cpython-304b6a32257a1e42c043c6c8c8ddd4360a7baa4f.tar.gz
cpython-304b6a32257a1e42c043c6c8c8ddd4360a7baa4f.tar.bz2
Correction after translation test.
-rw-r--r--Lib/SimpleHTTPServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py
index 01a6097..20ed116 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: