1
1
Fork 0
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:
Rene Dudfield 2011-12-16 17:10:03 +01:00
parent c8d11dee87
commit 885dc01a3b

View file

@ -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)