Skip to content

Commit cf171f7

Browse files
authored
fixup
1 parent 5251171 commit cf171f7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

dvc/remote/base.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,7 @@ def _download_dir(
590590
):
591591
from_infos = list(self.walk_files(from_info))
592592
to_infos = (
593-
to_info / info.relative_to(from_info)
594-
for info in from_infos
593+
to_info / info.relative_to(from_info) for info in from_infos
595594
)
596595

597596
with ThreadPoolExecutor(max_workers=self.JOBS) as executor:
@@ -602,9 +601,7 @@ def _download_dir(
602601
file_mode=file_mode,
603602
dir_mode=dir_mode,
604603
)
605-
futures = executor.map(
606-
download_files, from_infos, to_infos
607-
)
604+
futures = executor.map(download_files, from_infos, to_infos)
608605
with Tqdm(
609606
futures,
610607
total=len(from_infos),

0 commit comments

Comments
 (0)