power_enums: fix incorrect naming
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 14 May 2023 12:09:22 +0000 (12:09 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:19 +0000 (19:51 +0100)
src/openpower/decoder/power_enums.py

index 1ca39c9841c2ce89aa30d9c1b670059ad3c83543..242b3a86b221fad73a92d6fbfd909cf3fb565093 100644 (file)
@@ -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 {