Changeset 12 for python


Ignore:
Timestamp:
Sep 11, 2010, 3:20:49 PM (15 years ago)
Author:
Yuri Dario
Message:

python: drive is 2 letters only, fixes mercurial unbundle.

File:
1 edited

Legend:

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

    r10 r12  
    12771277
    12781278        # YD hack: add again drive name
    1279         if os.name == 'os2' and len(host)>2 and host[1] == ':':
     1279        if os.name == 'os2' and len(host)>1 and host[1] == ':':
    12801280            file = host + file
    12811281            host = ""
Note: See TracChangeset for help on using the changeset viewer.