You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
957 B
Diff
37 lines
957 B
Diff
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
|