mirror of https://github.com/google/oss-fuzz.git
[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:
parent
6d72d18132
commit
d48b11f529
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue