From 1e0f8ba0ace2c61b01102f3b7f8ae088a18d0e72 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 5 Sep 2022 21:35:33 +0300 Subject: [PATCH] power_enum: tune SVEtype representation --- src/openpower/decoder/power_enums.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index cf08672a..4a8add83 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -199,6 +199,9 @@ class SVEtype(Enum): EXTRA2 = 1 EXTRA3 = 2 + def __repr__(self): + return self.name + @unique class SVExtra(Enum): -- 2.30.2