mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Remove skip_archives argument
This commit is contained in:
parent
1a1695e022
commit
894f6558f1
1 changed files with 15 additions and 16 deletions
|
@ -731,7 +731,7 @@ class HTMLPage(object):
|
|||
return self.url
|
||||
|
||||
@classmethod
|
||||
def get_page(cls, link, skip_archives=True, session=None):
|
||||
def get_page(cls, link, session=None):
|
||||
if session is None:
|
||||
raise TypeError(
|
||||
"get_page() missing 1 required keyword argument: 'session'"
|
||||
|
@ -748,7 +748,6 @@ class HTMLPage(object):
|
|||
return None
|
||||
|
||||
try:
|
||||
if skip_archives:
|
||||
filename = link.filename
|
||||
for bad_ext in ARCHIVE_EXTENSIONS:
|
||||
if filename.endswith(bad_ext):
|
||||
|
|
Loading…
Reference in a new issue