Chromium Code Reviews| Index: MODIFICATIONS.diff |
| diff --git a/MODIFICATIONS.diff b/MODIFICATIONS.diff |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2dfb0dae66ea849c6af31222d664fd0104953726 |
| --- /dev/null |
| +++ b/MODIFICATIONS.diff |
| @@ -0,0 +1,36 @@ |
| +diff --git a/third_party/oauth2client/client.py b/third_party/oauth2client/client.py |
|
Vadim Sh.
2014/03/14 21:55:25
I think this file should be in third_party/oauth2c
|
| +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 |