commit | 2c72420a68e960fc703eb927cb2425744e209261 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Tue May 05 17:34:42 2009 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Tue May 05 17:34:42 2009 +0000 |
tree | 1a6136f29cbb8bbdb1d42aaaf17da20fadf4e5f5 | |
parent | 588b54b646ff3ca7e86e5b493e01f60b449d2246 [diff] [blame] |
Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in pathname2url as windows recognizes it. test_urllib passes now.
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 @@ 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)