[Python-checkins] r72343 - python/trunk/Lib/nturl2path.py
senthil.kumaran
python-checkins at python.org
Tue May 5 19:34:42 CEST 2009
Author: senthil.kumaran
Date: Tue May 5 19:34:42 2009
New Revision: 72343
Log:
Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in pathname2url as windows recognizes it. test_urllib passes now.
Modified:
python/trunk/Lib/nturl2path.py
Modified: python/trunk/Lib/nturl2path.py
==============================================================================
--- python/trunk/Lib/nturl2path.py (original)
+++ python/trunk/Lib/nturl2path.py Tue May 5 19:34:42 2009
@@ -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)
More information about the Python-checkins
mailing list