From 1baf020de7c3b0024807f30bc7e9eec39a37948c Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sat, 26 Oct 2019 00:29:23 +0300 Subject: [PATCH] s3: don't use walk_files for list_cache_paths No need to convert back and forth from string to PathInfo --- dvc/remote/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/remote/s3.py b/dvc/remote/s3.py index 61213c2d0..7557caecd 100644 --- a/dvc/remote/s3.py +++ b/dvc/remote/s3.py @@ -207,7 +207,7 @@ class RemoteS3(RemoteBASE): ) def list_cache_paths(self): - return [info.path for info in self.walk_files(self.path_info)] + return self._list_paths(self.path_info) def exists(self, path_info): dir_path = path_info / ""