From e46d186752bc0d24a08d2c08551c0346ad95021f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 3 Jun 2023 19:13:00 +0100 Subject: [PATCH] rename "none" __repr__ to "NONE" in SVExtra and SelType --- src/openpower/decoder/power_enums.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] -- 2.30.2