Browse Source

Merge "Remove the v2_deprecated decorator"

changes/58/510358/1
Jenkins 4 years ago
committed by Gerrit Code Review
parent
commit
3b8d8c521e
  1. 12
      keystone/common/controller.py

12
keystone/common/controller.py

@ -33,18 +33,6 @@ LOG = log.getLogger(__name__)
CONF = keystone.conf.CONF
def v2_deprecated(f):
@six.wraps(f)
def wrapper(*args, **kwargs):
deprecated = versionutils.deprecated(
what=f.__name__ + ' of the v2 API',
as_of=versionutils.deprecated.MITAKA,
in_favor_of='a similar function in the v3 API',
remove_in=+4)
return deprecated(f)
return wrapper()
def v2_ec2_deprecated(f):
@six.wraps(f)
def wrapper(*args, **kwargs):

Loading…
Cancel
Save