diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 10:26:06 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 10:26:06 (GMT) |
commit | 304b6a32257a1e42c043c6c8c8ddd4360a7baa4f (patch) | |
tree | bec9c81c72542c626ee8b065d1e061ea7f103cdc /Lib/SimpleHTTPServer.py | |
parent | 0c03cc203f45b6be20b9bc61833da98ec22be6f2 (diff) | |
download | cpython-304b6a32257a1e42c043c6c8c8ddd4360a7baa4f.zip cpython-304b6a32257a1e42c043c6c8c8ddd4360a7baa4f.tar.gz cpython-304b6a32257a1e42c043c6c8c8ddd4360a7baa4f.tar.bz2 |
Correction after translation test.
Diffstat (limited to 'Lib/SimpleHTTPServer.py')
-rw-r--r-- | Lib/SimpleHTTPServer.py | 2 |
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: |