aboutsummaryrefslogtreecommitdiff
path: root/oauth2client
diff options
context:
space:
mode:
authorJon Wayne Parrott <jonwayne@google.com>2016-07-27 15:18:39 -0700
committerJon Wayne Parrott <jonwayne@google.com>2016-07-27 15:18:39 -0700
commit6807d7d263118c5db30e5f692c6605cb2a849260 (patch)
treedf1b8cd97149f50db58062381bf21fa224a16604 /oauth2client
parent1e4a7d6b9527068d67f5f13b08932f9b75dcaea0 (diff)
downloadoauth2client-6807d7d263118c5db30e5f692c6605cb2a849260.tar.gz
Add deprecation warning to multistore_file.
Diffstat (limited to 'oauth2client')
-rw-r--r--oauth2client/contrib/multistore_file.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/oauth2client/contrib/multistore_file.py b/oauth2client/contrib/multistore_file.py
index dd4c8f4..10f4cb4 100644
--- a/oauth2client/contrib/multistore_file.py
+++ b/oauth2client/contrib/multistore_file.py
@@ -58,6 +58,11 @@ __author__ = 'jbeda@google.com (Joe Beda)'
logger = logging.getLogger(__name__)
+logger.warning(
+ 'The oauth2client.contrib.multistore_file module has been deprecated and '
+ 'will be removed in the next release of oauth2client. Please migrate to '
+ 'multiprocess_file_storage.')
+
# A dict from 'filename'->_MultiStore instances
_multistores = {}
_multistores_lock = threading.Lock()