aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-11-04 03:18:44 +0000
committerPJ Eby <distutils-sig@python.org>2005-11-04 03:18:44 +0000
commit12022171055a008a3dbd9e9eb38e249452414a5a (patch)
treee40485bb0458d6ccb005a75078a39f54776eee0e /setuptools/package_index.py
parent0db70c291a7cbe8ec9d1f509c2508b008f4fe1c9 (diff)
downloadexternal_python_setuptools-12022171055a008a3dbd9e9eb38e249452414a5a.tar.gz
external_python_setuptools-12022171055a008a3dbd9e9eb38e249452414a5a.tar.bz2
external_python_setuptools-12022171055a008a3dbd9e9eb38e249452414a5a.zip
Reduce the number of redundant host blocking warnings by not
retrying the same previously-blocked URLs. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041395
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 76d53d11..1665bd37 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -163,6 +163,7 @@ class PackageIndex(Environment):
return # don't need the actual page
if not self.url_ok(url):
+ self.fetched_urls[url] = True
return
self.info("Reading %s", url)
@@ -202,7 +203,6 @@ class PackageIndex(Environment):
-
def process_index(self,url,page):
"""Process the contents of a PyPI page"""