Skip to content

Commit

Permalink
remote: fix build errors (iterative#3957)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored Jun 5, 2020
1 parent 99b58d3 commit 803bb3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dvc/remote/gdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __init__(self, remote, config):
self._client_secret = config.get("gdrive_client_secret")
self._validate_config()
self._gdrive_user_credentials_path = (
tmp_fname(os.path.join(self.repo.tmp_dir, ""))
tmp_fname(os.path.join(self.remote.repo.tmp_dir, ""))
if os.getenv(GDriveRemoteTree.GDRIVE_CREDENTIALS_DATA)
else config.get(
"gdrive_user_credentials_file",
Expand Down
2 changes: 1 addition & 1 deletion dvc/remote/gs.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_file_checksum(self, path_info):

bucket = path_info.bucket
path = path_info.path
blob = self.gs.bucket(bucket).get_blob(path)
blob = self.tree.gs.bucket(bucket).get_blob(path)
if not blob:
return None

Expand Down

0 comments on commit 803bb3e

Please sign in to comment.