diff --git a/dvc/remote/base.py b/dvc/remote/base.py index f399c98557..7b58542a2a 100644 --- a/dvc/remote/base.py +++ b/dvc/remote/base.py @@ -590,8 +590,7 @@ def _download_dir( ): from_infos = list(self.walk_files(from_info)) to_infos = ( - to_info / info.relative_to(from_info) - for info in from_infos + to_info / info.relative_to(from_info) for info in from_infos ) with ThreadPoolExecutor(max_workers=self.JOBS) as executor: @@ -602,9 +601,7 @@ def _download_dir( file_mode=file_mode, dir_mode=dir_mode, ) - futures = executor.map( - download_files, from_infos, to_infos - ) + futures = executor.map(download_files, from_infos, to_infos) with Tqdm( futures, total=len(from_infos),