mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
remote: base: remove unnecessary list casting
This commit is contained in:
+1
-1
@@ -648,7 +648,7 @@ class RemoteBASE(object):
|
||||
if self.no_traverse:
|
||||
with ThreadPoolExecutor(max_workers=jobs or self.JOBS) as executor:
|
||||
path_infos = [self.checksum_to_path_info(x) for x in checksums]
|
||||
in_remote = list(executor.map(self.exists, path_infos))
|
||||
in_remote = executor.map(self.exists, path_infos)
|
||||
ret = list(itertools.compress(checksums, in_remote))
|
||||
progress_callback.finish("")
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user