From: Eric S. Raymond Date: Fri, 9 Feb 2001 10:26:06 +0000 (+0000) Subject: Correction after translation test. X-Git-Tag: v2.1b1~457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=304b6a32257a1e42c043c6c8c8ddd4360a7baa4f;p=python Correction after translation test. --- 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: