From: Dmitry Selyutin Date: Sun, 14 May 2023 12:09:22 +0000 (+0000) Subject: power_enums: fix incorrect naming X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7e400ca6a9607b7d03d4babfdb2da6f7f5d79df;p=openpower-isa.git power_enums: fix incorrect naming --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index 1ca39c98..242b3a86 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -194,7 +194,7 @@ class SVPType(Enum): @classmethod def _missing_(cls, desc): - return {"1P": SVPType.P1, "2P": SVPType.P2, "2PM": SVType.P2M}.get(desc) + return {"1P": SVPType.P1, "2P": SVPType.P2, "2PM": SVPType.P2M}.get(desc) def __repr__(self): return {