remote: fix build errors (#3957)

This commit is contained in:
Peter Rowlands (변기호)
2020-06-05 05:14:34 +03:00
committed by GitHub
parent 99b58d3d05
commit 803bb3eb61
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ class GDriveRemoteTree(BaseRemoteTree):
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",
+1 -1
View File
@@ -193,7 +193,7 @@ class GSRemote(BaseRemote):
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