summaryrefslogtreecommitdiff
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 984feef4..8974a647 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -148,6 +148,7 @@ def find_external_links(url, page):
for match in HREF.finditer(tag):
link = urlparse.urljoin(url, htmldecode(match.group(1)))
if not link in seen_links:
+ seen_links.add(link)
yield link
for tag in ("<th>Home Page", "<th>Download URL"):
@@ -157,6 +158,7 @@ def find_external_links(url, page):
if match:
link = urlparse.urljoin(url, htmldecode(match.group(1)))
if not link in seen_links:
+ seen_links.add(link)
yield link