From defa8ca855b2dd701c1b65d909a620645e06c1fe Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Thu, 22 Jun 2023 22:07:59 +0300 Subject: [PATCH] power_enum: modify SVPtype stringification --- src/openpower/decoder/power_enums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 707e3986..300a4653 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -202,7 +202,7 @@ class SVPType(Enum): def _missing_(cls, desc): return {"1P": SVPType.P1, "2P": SVPType.P2, "2PM": SVPType.P2M}.get(desc) - def __repr__(self): + def __str__(self): return { SVPType.NONE: "NONE", SVPType.P1: "1P", -- 2.30.2