From 90aba96633a6d84077d9ad5566e47bc396a0587d Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 12 Nov 2015 14:08:50 -0500 Subject: [PATCH] Last sync from oslo-incubator oslo-incubator will cease to host common code soon. This is hopefully the very last sync from oslo-incubator. Sync'ed with oslo-incubator SHA (4bbd5edc8b235592f59a808fa33fd6a994b23b2c) Change-Id: Ie40b2e849f8ed859eb29ffe4f0c6496d7c9f9366 --- keystoneclient/openstack/common/memorycache.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/keystoneclient/openstack/common/memorycache.py b/keystoneclient/openstack/common/memorycache.py index e72c26df1..c6e101347 100644 --- a/keystoneclient/openstack/common/memorycache.py +++ b/keystoneclient/openstack/common/memorycache.py @@ -18,6 +18,7 @@ import copy +from debtcollector import removals from oslo_config import cfg from oslo_utils import timeutils @@ -30,6 +31,11 @@ CONF = cfg.CONF CONF.register_opts(memcache_opts) +# Indicate that this module is deprecated for removal and oslo.cache should +# be used instead. +removals.removed_module(__name__, 'oslo.cache') + + def list_opts(): """Entry point for oslo-config-generator.""" return [(None, copy.deepcopy(memcache_opts))]