Reference class variable in Status
This is trivial change to use an existing class variable instead of redefining a string. Change-Id: Ic4fbbc3b735a30babdfee74225975152476196e3
This commit is contained in:
parent
9688b7938b
commit
861b0f434f
|
@ -414,7 +414,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
|
||||
|
|
Loading…
Reference in New Issue