OLD | NEW |
---|---|
(Empty) | |
1 diff --git a/third_party/oauth2client/client.py b/third_party/oauth2client/clien t.py | |
Vadim Sh.
2014/03/14 21:55:25
I think this file should be in third_party/oauth2c
| |
2 index 4e8e616..6901f3f 100644 | |
3 --- a/third_party/oauth2client/client.py | |
4 +++ b/third_party/oauth2client/client.py | |
5 @@ -23,24 +23,23 @@ import base64 | |
6 import clientsecrets | |
7 import copy | |
8 import datetime | |
9 -import httplib2 | |
10 +from .. import httplib2 | |
11 import logging | |
12 -import os | |
13 import sys | |
14 import time | |
15 import urllib | |
16 import urlparse | |
17 | |
18 -from oauth2client import GOOGLE_AUTH_URI | |
19 -from oauth2client import GOOGLE_REVOKE_URI | |
20 -from oauth2client import GOOGLE_TOKEN_URI | |
21 -from oauth2client import util | |
22 -from oauth2client.anyjson import simplejson | |
23 +from . import GOOGLE_AUTH_URI | |
24 +from . import GOOGLE_REVOKE_URI | |
25 +from . import GOOGLE_TOKEN_URI | |
26 +from . import util | |
27 +from .anyjson import simplejson | |
28 | |
29 HAS_OPENSSL = False | |
30 HAS_CRYPTO = False | |
31 try: | |
32 - from oauth2client import crypt | |
33 + from . import crypt | |
34 HAS_CRYPTO = True | |
35 if crypt.OpenSSLVerifier is not None: | |
36 HAS_OPENSSL = True | |
OLD | NEW |