power_enums: fix incorrect naming
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 14 May 2023 12:09:22 +0000 (12:09 +0000)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 14 May 2023 12:11:43 +0000 (12:11 +0000)
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 {