summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoutham Pacha Ravi <gouthampravi@gmail.com>2022-03-11 03:15:09 +0530
committerGoutham Pacha Ravi <gouthampravi@gmail.com>2022-03-11 03:15:09 +0530
commit29b6146cbefdcb6ea573ae4584e04fac901e1ad5 (patch)
tree2716717e17188d75b1b2c54d54cd6d89f5338489
parentde03a59ed78e3e5d97d530918a4a1680160660dc (diff)
downloadoslo-log-29b6146cbefdcb6ea573ae4584e04fac901e1ad5.tar.gz
Add Zed in versionutils
with these once could use versionutils.deprecated.ZED in config annotations and logs. Change-Id: I8d5ed01a4b4d1a544fe868c571a54dc96e8ae2f2
-rw-r--r--oslo_log/versionutils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/oslo_log/versionutils.py b/oslo_log/versionutils.py
index 8453599..501b7a5 100644
--- a/oslo_log/versionutils.py
+++ b/oslo_log/versionutils.py
@@ -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