From 25a9468850975838ced86027b4c9a5b633df0bf2 Mon Sep 17 00:00:00 2001 From: Vishakha Agarwal Date: Fri, 12 Apr 2019 10:19:34 +0530 Subject: Add TRAIN to deprecated releases Keystone uses versionutils for marking config settings as deprecated and currently TRAIN is missing as an option. This change adds the same. Change-Id: I0307665d468ac90b5208aadf6f85373bc339b44d --- oslo_log/versionutils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oslo_log/versionutils.py b/oslo_log/versionutils.py index fc031de..20bb12a 100644 --- a/oslo_log/versionutils.py +++ b/oslo_log/versionutils.py @@ -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 -- cgit v1.2.1