mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Simplify assertion 2.
Per `should_use_ephemeral_cache`, we only use a non-ephemeral cache if `cache_available`, so there's no need to check it again here.
This commit is contained in:
parent
7b772e42d8
commit
3473a6736d
1 changed files with 0 additions and 5 deletions
|
@ -1076,11 +1076,6 @@ class WheelBuilder(object):
|
|||
if not buildset:
|
||||
return []
|
||||
|
||||
# Is any wheel build not using the ephemeral cache?
|
||||
if any(not ephem_cache for _, ephem_cache in buildset):
|
||||
if should_unpack:
|
||||
assert self.wheel_cache.cache_dir
|
||||
|
||||
# TODO by @pradyunsg
|
||||
# Should break up this method into 2 separate methods.
|
||||
|
||||
|
|
Loading…
Reference in a new issue