Changeset 10 for python/trunk/Lib/urllib2.py
- Timestamp:
- Sep 3, 2010, 5:33:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Lib/urllib2.py
r2 r10 1275 1275 host = req.get_host() 1276 1276 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 1277 1283 localfile = url2pathname(file) 1278 1284 try:
Note:
See TracChangeset
for help on using the changeset viewer.