[Python-checkins] r88792 - sandbox/trunk/setuptools/setuptools/package_index.py (original) (raw)

phillip.eby python-checkins at python.org
Wed Mar 23 21:35:43 CET 2011


Author: phillip.eby Date: Wed Mar 23 21:35:42 2011 New Revision: 88792

Log: Handle multiple Content-Length headers, and support HTTP credentials for SVN checkouts.

Modified: sandbox/trunk/setuptools/setuptools/package_index.py

Modified: sandbox/trunk/setuptools/setuptools/package_index.py

--- sandbox/trunk/setuptools/setuptools/package_index.py (original) +++ sandbox/trunk/setuptools/setuptools/package_index.py Wed Mar 23 21:35:42 2011 @@ -550,7 +550,7 @@ bs = self.dl_blocksize size = -1 if "content-length" in headers:

@@ -639,10 +639,39 @@ os.unlink(filename) raise DistutilsError("Unexpected HTML page found at "+url)

@@ -654,6 +683,18 @@ def warn(self, msg, *args): log.warn(msg, *args)



More information about the Python-checkins mailing list