Skip to content

Commit 803bb3e

Browse files
authored
remote: fix build errors (#3957)
1 parent 99b58d3 commit 803bb3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dvc/remote/gdrive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(self, remote, config):
125125
self._client_secret = config.get("gdrive_client_secret")
126126
self._validate_config()
127127
self._gdrive_user_credentials_path = (
128-
tmp_fname(os.path.join(self.repo.tmp_dir, ""))
128+
tmp_fname(os.path.join(self.remote.repo.tmp_dir, ""))
129129
if os.getenv(GDriveRemoteTree.GDRIVE_CREDENTIALS_DATA)
130130
else config.get(
131131
"gdrive_user_credentials_file",

dvc/remote/gs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def get_file_checksum(self, path_info):
193193

194194
bucket = path_info.bucket
195195
path = path_info.path
196-
blob = self.gs.bucket(bucket).get_blob(path)
196+
blob = self.tree.gs.bucket(bucket).get_blob(path)
197197
if not blob:
198198
return None
199199

0 commit comments

Comments
 (0)