Skip to content

Commit

Permalink
Revert "Explicitly ignore rel='download' links while looking for html…
Browse files Browse the repository at this point in the history
… pages."

This reverts commit 0bb9c31.
  • Loading branch information
jezdez committed Mar 7, 2013
1 parent f0b6bbf commit a3584d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pip/index.py
Expand Up @@ -262,7 +262,7 @@ def _get_queued_page(self, req, pending_queue, done, seen):
if page is None:
continue
done.append(page)
for link in page.rel_links(rels=('homepage',)):
for link in page.rel_links():
pending_queue.put(link)

_egg_fragment_re = re.compile(r'#egg=([^&]*)')
Expand Down Expand Up @@ -552,8 +552,8 @@ def links(self):
url = self.clean_link(urlparse.urljoin(self.base_url, url))
yield Link(url, self)

def rel_links(self, rels=('homepage', 'download')):
for url in self.explicit_rel_links(rels):
def rel_links(self):
for url in self.explicit_rel_links():
yield url
for url in self.scraped_rel_links():
yield url
Expand Down

0 comments on commit a3584d1

Please sign in to comment.