mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Yeah ('.zip') is not a tuple. doh. Applied wart remover.
This commit is contained in:
parent
c8d11dee87
commit
885dc01a3b
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ class PackageFinder(object):
|
|||
logger.debug('Skipping link %s; unknown archive format: %s' % (link, ext))
|
||||
self.logged_links.add(link)
|
||||
return []
|
||||
if "macosx10" in link.path and ext in ('.zip'):
|
||||
if "macosx10" in link.path and ext == '.zip':
|
||||
if link not in self.logged_links:
|
||||
logger.debug('Skipping link %s; macosx10 one' % (link))
|
||||
self.logged_links.add(link)
|
||||
|
|
Loading…
Reference in a new issue