status: cleanup invocation of hashes_exist

This commit is contained in:
Daniele Trifirò
2022-02-18 02:37:48 +02:00
committed by Ruslan Kuprieiev
parent 3767b03784
commit 220c633497
+1 -3
View File
@@ -132,9 +132,7 @@ def status(
hashes.difference_update(exists)
if hashes:
exists.update(
odb.hashes_exist(hashes, name=odb.fs_path, jobs=jobs, **kwargs)
)
exists.update(odb.hashes_exist(hashes, name=odb.fs_path, jobs=jobs))
return StatusResult(
{hash_infos[hash_] for hash_ in exists},
{hash_infos[hash_] for hash_ in (hashes - exists)},