From 2122d3c9b1aece94b64f6b85c6707a42cca8b093 Mon Sep 17 00:00:00 2001 From: Adrian Carpenter Date: Tue, 16 Feb 2016 16:12:22 -0600 Subject: 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. --- googleapiclient/discovery_cache/file_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'googleapiclient') 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 -- cgit v1.2.3