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.
67 lines
1.9 KiB
Diff
67 lines
1.9 KiB
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
|
|
diff --git a/third_party/oauth2client/locked_file.py b/third_party/oauth2client/locked_file.py
|
|
index 31514dc..858b702 100644
|
|
--- a/third_party/oauth2client/locked_file.py
|
|
+++ b/third_party/oauth2client/locked_file.py
|
|
@@ -35,7 +35,7 @@ import logging
|
|
import os
|
|
import time
|
|
|
|
-from oauth2client import util
|
|
+from . import util
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
diff --git a/third_party/oauth2client/multistore_file.py b/third_party/oauth2client/multistore_file.py
|
|
index ce7a519..ea89027 100644
|
|
--- a/third_party/oauth2client/multistore_file.py
|
|
+++ b/third_party/oauth2client/multistore_file.py
|
|
@@ -50,9 +50,9 @@ import os
|
|
import threading
|
|
|
|
from anyjson import simplejson
|
|
-from oauth2client.client import Storage as BaseStorage
|
|
-from oauth2client.client import Credentials
|
|
-from oauth2client import util
|
|
+from .client import Storage as BaseStorage
|
|
+from .client import Credentials
|
|
+from . import util
|
|
from locked_file import LockedFile
|
|
|
|
logger = logging.getLogger(__name__)
|