From 71355d40f46b0350832849589a83814bbb452654 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 10 Jun 2023 21:16:42 +0300 Subject: [PATCH] insndb/core: switch PPCMultiRecord to Tuple --- src/openpower/insndb/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 2cd7d5fb..367008e1 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -440,7 +440,7 @@ class PPCRecord(Dataclass): return frozenset(self.comment.split("=")[-1].split("/")) -class PPCMultiRecord(tuple): +class PPCMultiRecord(Tuple, datatype=PPCRecord): def __getattr__(self, attr): if attr == "opcode": if len(self) != 1: -- 2.30.2