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

Unified Diff: third_party/gsutil/gslib/third_party/storage_apitools/storage_v1_client.py

Issue 1380943003: Roll version of gsutil to 4.15. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 5 years 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 | « third_party/gsutil/gslib/tests/util.py ('k') | third_party/gsutil/gslib/tracker_file.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/gslib/third_party/storage_apitools/storage_v1_client.py
diff --git a/third_party/gsutil/gslib/third_party/storage_apitools/storage_v1_client.py b/third_party/gsutil/gslib/third_party/storage_apitools/storage_v1_client.py
index bbffce3e51ca759bd5cab7e19dded1a2d3e2a825..3389b6933442563696f324e9e7813fc2cc07d841 100644
--- a/third_party/gsutil/gslib/third_party/storage_apitools/storage_v1_client.py
+++ b/third_party/gsutil/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 | « third_party/gsutil/gslib/tests/util.py ('k') | third_party/gsutil/gslib/tracker_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698