From 2c72420a68e960fc703eb927cb2425744e209261 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Tue, 5 May 2009 17:34:42 +0000 Subject: Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in pathname2url as windows recognizes it. test_urllib passes now. --- Lib/nturl2path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/nturl2path.py b/Lib/nturl2path.py index 31064044..29ea80f 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) -- cgit v0.12