From: Senthil Kumaran Date: Mon, 5 Oct 2009 04:13:01 +0000 (+0000) Subject: merge r72343. Fix for issue7043 X-Git-Tag: v2.6.4rc1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0240c924dbd17b01dc739f20c39247637599f330;p=thirdparty%2FPython%2Fcpython.git merge r72343. Fix for issue7043 --- diff --git a/Lib/nturl2path.py b/Lib/nturl2path.py index 31064044e73d..29ea80f9d9e9 100644 --- a/Lib/nturl2path.py +++ b/Lib/nturl2path.py @@ -56,7 +56,7 @@ def pathname2url(p): drive = urllib.quote(comp[0].upper()) components = comp[1].split('\\') - path = '///' + drive + '|' + path = '///' + drive + ':' for comp in components: if comp: path = path + '/' + urllib.quote(comp)