From: Dmitry Selyutin Date: Sat, 10 Jun 2023 18:18:53 +0000 (+0300) Subject: insndb/core: switch PPCRecord.Flags to Tuple X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15103dfa88665f337fbe49ba559fe2d927e86b24;p=openpower-isa.git insndb/core: switch PPCRecord.Flags to Tuple --- diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 367008e1..defe898a 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -368,7 +368,7 @@ class PPCRecord(Dataclass): "sgl pipe", ) - class Flags(tuple, metaclass=FlagsMeta): + class Flags(Tuple, datatype=str, metaclass=FlagsMeta): def __new__(cls, flags=frozenset()): flags = frozenset(flags) diff = (flags - frozenset(cls))