From 6807d7d263118c5db30e5f692c6605cb2a849260 Mon Sep 17 00:00:00 2001 From: Jon Wayne Parrott Date: Wed, 27 Jul 2016 15:18:39 -0700 Subject: [PATCH] Add deprecation warning to multistore_file. --- oauth2client/contrib/multistore_file.py | 5 +++++ 1 file changed, 5 insertions(+) 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()