Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Lib/nturl2path.py

    r2 r388  
    2626        raise IOError, error
    2727    drive = comp[0][-1].upper()
     28    path = drive + ':'
    2829    components = comp[1].split('/')
    29     path = drive + ':'
    30     for  comp in components:
     30    for comp in components:
    3131        if comp:
    3232            path = path + '\\' + urllib.unquote(comp)
     33    # Issue #11474: url like '/C|/' should convert into 'C:\\'
     34    if path.endswith(':') and url.endswith('/'):
     35        path += '\\'
    3336    return path
    3437
Note: See TracChangeset for help on using the changeset viewer.