Merge "Reference class variable in Status"

This commit is contained in:
Zuul 2018-05-08 20:37:19 +00:00 committed by Gerrit Code Review
commit c0d5157157
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ class Status(object):
"""
status = raw_status.upper()
if status == 'STABLE':
status = 'CURRENT'
status = cls.CURRENT
if status not in cls.KNOWN:
status = cls.UNKNOWN
return status