Commit 03cee8b5 authored by PJ Eby's avatar PJ Eby

Fix for issue 88

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4075926
parent 2a5eaaed
......@@ -1217,6 +1217,10 @@ displayed MD5 info (broken onto two lines for readability)::
Release Notes/Change History
============================
0.6final
* Fixed AttributeError under Python 2.3 when processing "HTTP authentication"
URLs (i.e., ones with a ``user:password@host``).
0.6c11
* Fix installed script .exe files not working with 64-bit Python on Windows
(wasn't actually released in 0.6c10 due to a lost checkin)
......
"""PyPI and direct package downloading"""
import sys, os.path, re, urlparse, urllib2, shutil, random, socket, cStringIO
import httplib
import httplib, urllib
from pkg_resources import *
from distutils import log
from distutils.errors import DistutilsError
......@@ -701,7 +701,7 @@ def open_with_auth(url):
scheme, netloc, path, params, query, frag = urlparse.urlparse(url)
if scheme in ('http', 'https'):
auth, host = urllib2.splituser(netloc)
auth, host = urllib.splituser(netloc)
else:
auth = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment