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

Unified Diff: third_party/gsutil/cloudauth/oauth2_plugin.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 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 | « third_party/gsutil/cloudauth/cloudauth.py ('k') | third_party/gsutil/cloudreader/README.google » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/cloudauth/oauth2_plugin.py
diff --git a/third_party/gsutil/20110627/cloudauth/oauth2_plugin.py b/third_party/gsutil/cloudauth/oauth2_plugin.py
similarity index 96%
rename from third_party/gsutil/20110627/cloudauth/oauth2_plugin.py
rename to third_party/gsutil/cloudauth/oauth2_plugin.py
index b79c898e74c9c7d80ba6d33d8c52c05f0ed40c9b..b9839a523e94851f1f26920adfec4b374865385f 100644
--- a/third_party/gsutil/20110627/cloudauth/oauth2_plugin.py
+++ b/third_party/gsutil/cloudauth/oauth2_plugin.py
@@ -42,4 +42,4 @@ class OAuth2Auth(AuthHandler):
if not credentials or credentials.invalid:
raise NotReadyToAuthenticate()
http_request.headers['Authorization'] = (
- 'OAuth %s' % str(credentials.access_token))
+ 'Bearer %s' % str(credentials.access_token))
« no previous file with comments | « third_party/gsutil/cloudauth/cloudauth.py ('k') | third_party/gsutil/cloudreader/README.google » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698