Merge "Add TRAIN to deprecated releases"

This commit is contained in:
Zuul 2019-05-03 20:26:49 +00:00 committed by Gerrit Code Review
commit d71bbcb04e
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ _RELEASES = {
'Q': 'Queens',
'R': 'Rocky',
'S': 'Stein',
'T': 'Train',
}
@ -148,6 +149,7 @@ class deprecated(object):
QUEENS = 'Q'
ROCKY = 'R'
STEIN = 'S'
TRAIN = 'T'
def __init__(self, as_of, in_favor_of=None, remove_in=2, what=None):
"""Initialize decorator