Ignore:
Timestamp:
Sep 3, 2010, 5:33:06 PM (15 years ago)
Author:
Yuri Dario
Message:

python: merged offline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Lib/urllib2.py

    r2 r10  
    12751275        host = req.get_host()
    12761276        file = req.get_selector()
     1277
     1278        # YD hack: add again drive name
     1279        if os.name == 'os2' and len(host)>2 and host[1] == ':':
     1280            file = host + file
     1281            host = ""
     1282
    12771283        localfile = url2pathname(file)
    12781284        try:
Note: See TracChangeset for help on using the changeset viewer.