From 304b6a32257a1e42c043c6c8c8ddd4360a7baa4f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 9 Feb 2001 10:26:06 +0000 Subject: [PATCH] Correction after translation test. --- Lib/SimpleHTTPServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py index 01a6097639b..20ed1166b5b 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: