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

Unified Diff: gsutil.py

Issue 1587793002: Add in option to always disable gsutil version check (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 11 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: gsutil.py
diff --git a/gsutil.py b/gsutil.py
index 4a43f79cc671a2175f96396d8c927e580c7a0dfe..d57cafb94c3365f021996167c048097a0727bc0c 100755
--- a/gsutil.py
+++ b/gsutil.py
@@ -125,7 +125,8 @@ def run_gsutil(force_version, fallback, target, args, clean=False):
gsutil_bin = ensure_gsutil(force_version, target, clean)
else:
gsutil_bin = fallback
- cmd = [sys.executable, gsutil_bin] + args
+ disable_update = ['-o', 'GSUtil:software_update_check_period=0']
+ cmd = [sys.executable, gsutil_bin] + disable_update + args
return subprocess.call(cmd)
« 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