Add Zed in versionutils

with these once could use versionutils.deprecated.ZED
in config annotations and logs.

Change-Id: I8d5ed01a4b4d1a544fe868c571a54dc96e8ae2f2
This commit is contained in:
Goutham Pacha Ravi 2022-03-11 03:15:09 +05:30
parent de03a59ed7
commit 29b6146cbe
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,7 @@ _RELEASES = {
'W': 'Wallaby',
'X': 'Xena',
'Y': 'Yoga',
'Z': 'Zed',
}
@ -159,6 +160,7 @@ class deprecated(object):
WALLABY = 'W'
XENA = 'X'
YOGA = 'Y'
ZED = 'Z'
def __init__(self, as_of, in_favor_of=None, remove_in=2, what=None):
"""Initialize decorator