summaryrefslogtreecommitdiff
path: root/Lib/nturl2path.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2009-10-05 04:13:01 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2009-10-05 04:13:01 +0000
commit0240c924dbd17b01dc739f20c39247637599f330 (patch)
tree443b0f5a998708cac9144857715ef9e775b75c55 /Lib/nturl2path.py
parent441dad8145686a9438ef1a30da64e589af2989ed (diff)
downloadcpython-git-0240c924dbd17b01dc739f20c39247637599f330.tar.gz
merge r72343. Fix for issue7043
Diffstat (limited to 'Lib/nturl2path.py')
-rw-r--r--Lib/nturl2path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nturl2path.py b/Lib/nturl2path.py
index 31064044e7..29ea80f9d9 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)