aboutsummaryrefslogtreecommitdiff
path: root/googleapiclient
diff options
context:
space:
mode:
authorAdrian Carpenter <adriatic.c@gmail.com>2016-02-16 16:12:22 -0600
committerAdrian Carpenter <adriatic.c@gmail.com>2016-02-17 22:20:48 -0600
commit2122d3c9b1aece94b64f6b85c6707a42cca8b093 (patch)
tree15bd99f86c2fe1e074407faf59a9ba577729cd60 /googleapiclient
parentd83246e69b22f084d1ae92da5897572a4a4eb03d (diff)
downloadgoogle-api-python-client-2122d3c9b1aece94b64f6b85c6707a42cca8b093.tar.gz
Make compatible with oauth2client v2.0.0
The v2.0.0 release moved a few modules to a subpackage of oauth2client called contrib. Among these was the locked_file module necessary for credential storage. Sample code for Django, App Engine and Service Accounts needed updates as well.
Diffstat (limited to 'googleapiclient')
-rw-r--r--googleapiclient/discovery_cache/file_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/googleapiclient/discovery_cache/file_cache.py b/googleapiclient/discovery_cache/file_cache.py
index ce540f02b..8b0301d2f 100644
--- a/googleapiclient/discovery_cache/file_cache.py
+++ b/googleapiclient/discovery_cache/file_cache.py
@@ -29,7 +29,7 @@ import os
import tempfile
import threading
-from oauth2client.locked_file import LockedFile
+from oauth2client.contrib.locked_file import LockedFile
from . import base
from ..discovery_cache import DISCOVERY_DOC_MAX_AGE