From: Luke Kenneth Casson Leighton Date: Sat, 3 Jun 2023 18:13:00 +0000 (+0100) Subject: rename "none" __repr__ to "NONE" in SVExtra and SelType X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e46d186752bc0d24a08d2c08551c0346ad95021f;p=openpower-isa.git rename "none" __repr__ to "NONE" in SVExtra and SelType --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 93ad05bc..f4fe3515 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -241,7 +241,7 @@ class SVExtra(Enum): def __repr__(self): return { - SVExtra.NONE: "none", + SVExtra.NONE: "NONE", SVExtra.Idx0: "extra0", SVExtra.Idx1: "extra1", SVExtra.Idx2: "extra2", @@ -971,7 +971,7 @@ class SelType(Enum): def __repr__(self): return { - SelType.NONE: "none", + SelType.NONE: "NONE", SelType.SRC: "src", SelType.DST: "dst", }[self]