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:
Chris Hunt 2019-09-04 22:11:10 -04:00
parent 7b772e42d8
commit 3473a6736d
1 changed files with 0 additions and 5 deletions

View File

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