power_insn: fix typo
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 11 Sep 2022 18:45:28 +0000 (21:45 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 12 Sep 2022 20:41:44 +0000 (21:41 +0100)
src/openpower/decoder/power_insn.py

index c07e53e716cc2cea773cb8aef9aea9f9b9035c79..1e7ff681f01fbc32958dfc4e7f90b7aaadecacbb 100644 (file)
@@ -1817,6 +1817,6 @@ class Database:
                    return record
 
         elif isinstance(key, str):
-            return record.__names[key]
+            return self.__names[key]
 
         return None