[infra] helper.py: rewrite conditional to be more readable and idiomatic (#1534)

* Rewerite conditional to be more readable and idiomatic

* In fact, simplify further
This commit is contained in:
Alex Gaynor 2018-06-18 14:13:36 -04:00 committed by Max Moroz
parent 6d72d18132
commit d48b11f529
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ def download_corpus(project_name):
print('Downloading corpus for %s project' % project_name)
thread_pool = ThreadPool(multiprocessing.cpu_count())
return not False in thread_pool.map(_download_for_single_target, fuzz_targets)
return all(thread_pool.map(_download_for_single_target, fuzz_targets))
def profile(args):