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

Unified Diff: third_party/oauth2client/MODIFICATIONS.diff

Issue 183793010: Added OAuth2 authentication to apply_issue (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: openssl package is now optional (correct patch) Created 6 years, 9 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/oauth2client/LICENSE ('k') | third_party/oauth2client/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/oauth2client/MODIFICATIONS.diff
diff --git a/third_party/oauth2client/MODIFICATIONS.diff b/third_party/oauth2client/MODIFICATIONS.diff
new file mode 100644
index 0000000000000000000000000000000000000000..2dfb0dae66ea849c6af31222d664fd0104953726
--- /dev/null
+++ b/third_party/oauth2client/MODIFICATIONS.diff
@@ -0,0 +1,36 @@
+diff --git a/third_party/oauth2client/client.py b/third_party/oauth2client/client.py
+index 4e8e616..6901f3f 100644
+--- a/third_party/oauth2client/client.py
++++ b/third_party/oauth2client/client.py
+@@ -23,24 +23,23 @@ import base64
+ import clientsecrets
+ import copy
+ import datetime
+-import httplib2
++from .. import httplib2
+ import logging
+-import os
+ import sys
+ import time
+ import urllib
+ import urlparse
+
+-from oauth2client import GOOGLE_AUTH_URI
+-from oauth2client import GOOGLE_REVOKE_URI
+-from oauth2client import GOOGLE_TOKEN_URI
+-from oauth2client import util
+-from oauth2client.anyjson import simplejson
++from . import GOOGLE_AUTH_URI
++from . import GOOGLE_REVOKE_URI
++from . import GOOGLE_TOKEN_URI
++from . import util
++from .anyjson import simplejson
+
+ HAS_OPENSSL = False
+ HAS_CRYPTO = False
+ try:
+- from oauth2client import crypt
++ from . import crypt
+ HAS_CRYPTO = True
+ if crypt.OpenSSLVerifier is not None:
+ HAS_OPENSSL = True
« no previous file with comments | « third_party/oauth2client/LICENSE ('k') | third_party/oauth2client/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698