mirror of https://github.com/python/cpython
Correction after translation test.
This commit is contained in:
parent
0c03cc203f
commit
304b6a3225
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue