Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: common/py_utils/py_utils/cloud_storage.py

Issue 2931173002: Revert of Set BOTO_CONFIG correctly in cloud_storage.py (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/py_utils/py_utils/cloud_storage.py
diff --git a/common/py_utils/py_utils/cloud_storage.py b/common/py_utils/py_utils/cloud_storage.py
index e2420edce598aa35217f30373e6f064b3511018a..7bc9a19742587db624c2628c0eb38e89238f38ac 100644
--- a/common/py_utils/py_utils/cloud_storage.py
+++ b/common/py_utils/py_utils/cloud_storage.py
@@ -50,7 +50,6 @@
# TODO(tbarzic): A workaround for http://crbug.com/386416 and
# http://crbug.com/359293. See |_RunCommand|.
_CROS_GSUTIL_HOME_WAR = '/home/chromeos-test/'
-_CROS_GSUTIL_BOTO_PATH = '/home/chrome-bot/.boto'
# If Environment variables has DISABLE_CLOUD_STORAGE_IO set to '1', any method
@@ -125,15 +124,12 @@
# which is not writable. gsutil will attempt to create a download tracker dir
# in home dir and fail. To avoid this, override HOME dir to something writable
# when running on cros device.
- # We also need to set BOTO_CONFIG to point at the .boto file in the actual
- # HOME directory.
#
# TODO(tbarzic): Figure out a better way to handle gsutil on cros.
# http://crbug.com/386416, http://crbug.com/359293.
gsutil_env = None
if py_utils.IsRunningOnCrosDevice():
gsutil_env = os.environ.copy()
- gsutil_env['BOTO_CONFIG'] = _CROS_GSUTIL_BOTO_PATH
gsutil_env['HOME'] = _CROS_GSUTIL_HOME_WAR
if os.name == 'nt':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698