From b1496abbb77360672d1d94e689513daeeb3cafd0 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Fri, 24 Jul 2015 13:57:12 -0500 Subject: Proper deprecation for BaseIdentityPlugin trust_id property BaseIdentityPlugin's trust_id property wasn't properly deprecated since all it had was a comment in the code. Proper deprecation requires use of warnings and documentation. Where the plugins already provide their own trust_id, the property needs to be un-deprecated. bp deprecations Change-Id: I15d4e019bfc5542990120ba39be65ad83cf040d5 --- keystoneclient/auth/identity/generic/base.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'keystoneclient/auth/identity/generic/base.py') diff --git a/keystoneclient/auth/identity/generic/base.py b/keystoneclient/auth/identity/generic/base.py index 0b87d06..d366707 100644 --- a/keystoneclient/auth/identity/generic/base.py +++ b/keystoneclient/auth/identity/generic/base.py @@ -72,6 +72,16 @@ class BaseGenericPlugin(base.BaseIdentityPlugin): self._plugin = None + @property + def trust_id(self): + # Override to remove deprecation. + return self._trust_id + + @trust_id.setter + def trust_id(self, value): + # Override to remove deprecation. + self._trust_id = value + @abc.abstractmethod def create_plugin(self, session, version, url, raw_status=None): """Create a plugin from the given paramters. -- cgit v1.2.1