From 54dd9890dc83b7fa977ca588477852884ce68268 Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Thu, 28 Nov 2019 07:37:14 +0545 Subject: [PATCH] gs: return relative path in list_cache_paths --- dvc/remote/gs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc/remote/gs.py b/dvc/remote/gs.py index e8140fc33..6fdd1d4b1 100644 --- a/dvc/remote/gs.py +++ b/dvc/remote/gs.py @@ -143,7 +143,8 @@ class RemoteGS(RemoteBASE): yield blob.name def list_cache_paths(self): - return self.walk_files(self.path_info) + for cache in self.walk_files(self.path_info): + yield cache.path def walk_files(self, path_info): for fname in self._list_paths(path_info.bucket, path_info.path):