Commit 2c72420a authored by Senthil Kumaran's avatar Senthil Kumaran

Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':'...

Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in pathname2url as windows recognizes it. test_urllib passes now.
parent 588b54b6
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment