Commit 12022171 authored by PJ Eby's avatar PJ Eby

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
parent 0db70c29
......@@ -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"""
......
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