[Python-checkins] commit of r41395 - sandbox/trunk/setuptools/setuptools

phillip.eby@python.org phillip.eby at python.org
Fri Nov 4 04:18:49 CET 2005


Author: phillip.eby
Date: Fri Nov  4 04:18:44 2005
New Revision: 41395

Modified:
   sandbox/trunk/setuptools/setuptools/package_index.py
Log:
Reduce the number of redundant host blocking warnings by not
retrying the same previously-blocked URLs.


Modified: sandbox/trunk/setuptools/setuptools/package_index.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/package_index.py	(original)
+++ sandbox/trunk/setuptools/setuptools/package_index.py	Fri Nov  4 04:18:44 2005
@@ -163,6 +163,7 @@
             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 @@
 
 
 
-
     def process_index(self,url,page):
         """Process the contents of a PyPI page"""
 


More information about the Python-checkins mailing list