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

Unified Diff: tools/telemetry/third_party/gsutilz/gslib/third_party/storage_apitools/storage_v1_client.py

Issue 1376593003: Roll gsutil version to 4.15. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: tools/telemetry/third_party/gsutilz/gslib/third_party/storage_apitools/storage_v1_client.py
diff --git a/tools/telemetry/third_party/gsutilz/gslib/third_party/storage_apitools/storage_v1_client.py b/tools/telemetry/third_party/gsutilz/gslib/third_party/storage_apitools/storage_v1_client.py
index bbffce3e51ca759bd5cab7e19dded1a2d3e2a825..3389b6933442563696f324e9e7813fc2cc07d841 100644
--- a/tools/telemetry/third_party/gsutilz/gslib/third_party/storage_apitools/storage_v1_client.py
+++ b/tools/telemetry/third_party/gsutilz/gslib/third_party/storage_apitools/storage_v1_client.py
@@ -14,6 +14,7 @@
"""Generated client library for storage version v1."""
import os
+import platform
import sys
from apitools.base.py import base_api
@@ -32,7 +33,8 @@ class StorageV1(base_api.BaseApiClient):
_VERSION = u'v1'
_CLIENT_ID = 'nomatter'
_CLIENT_SECRET = 'nomatter'
- _USER_AGENT = 'apitools gsutil/%s (%s)' % (gslib.VERSION, sys.platform)
+ _USER_AGENT = 'apitools gsutil/%s Python/%s (%s)' % (
+ gslib.VERSION, platform.python_version(), sys.platform)
if os.environ.get('CLOUDSDK_WRAPPER') == '1':
_USER_AGENT += ' Cloud SDK Command Line Tool'
if os.environ.get('CLOUDSDK_VERSION'):
« no previous file with comments | « tools/telemetry/third_party/gsutilz/gslib/tests/util.py ('k') | tools/telemetry/third_party/gsutilz/gslib/tracker_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698