]> granicus.if.org Git - python/commitdiff
Correction after translation test.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 9 Feb 2001 10:26:06 +0000 (10:26 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 9 Feb 2001 10:26:06 +0000 (10:26 +0000)
Lib/SimpleHTTPServer.py

index 01a6097639b1378b2c6e0f74d8c80bbdffb73dbd..20ed1166b5b79c19ff85f1bfa7d5631f013d7e19 100644 (file)
@@ -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: