From 690ce9b353bc0a86d0886470adbaa50e813de3b8 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Tue, 5 May 2009 18:41:13 +0000 Subject: Fix for issue1153027, making Py3k changes similar to fix in issue918368. This will address: a) urllib/ in py3k, b) urllib in py2x is addressed by issue918368. c) urllib2 in py2x was already addressed in Revision 43132. --- Lib/nturl2path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/nturl2path.py') diff --git a/Lib/nturl2path.py b/Lib/nturl2path.py index 1cfe827c6d6..ce9c3d36dba 100644 --- a/Lib/nturl2path.py +++ b/Lib/nturl2path.py @@ -56,7 +56,7 @@ def pathname2url(p): drive = urllib.parse.quote(comp[0].upper()) components = comp[1].split('\\') - path = '///' + drive + '|' + path = '///' + drive + ':' for comp in components: if comp: path = path + '/' + urllib.parse.quote(comp) -- cgit v1.2.3