Skip to content

Commit

Permalink
Inline PackageFinder._get_page()
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Oct 1, 2018
1 parent 72779c6 commit bb6dae6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pip/_internal/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def _get_pages(self, locations, project_name):
continue
seen.add(location)

page = self._get_page(location)
page = _get_html_page(location, session=self.session)
if page is None:
continue

Expand Down Expand Up @@ -824,9 +824,6 @@ def _link_package_versions(self, link, search):

return InstallationCandidate(search.supplied, version, link)

def _get_page(self, link):
return _get_html_page(link, session=self.session)


def egg_info_matches(
egg_info, search_name, link,
Expand Down

0 comments on commit bb6dae6

Please sign in to comment.