projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71355d4
)
insndb/core: switch PPCRecord.Flags to Tuple
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 10 Jun 2023 18:18:53 +0000
(21:18 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 10 Jun 2023 18:18:53 +0000
(21:18 +0300)
src/openpower/insndb/core.py
patch
|
blob
|
history
diff --git
a/src/openpower/insndb/core.py
b/src/openpower/insndb/core.py
index 367008e176a08ee09cfdd749e6ec36bd1dfad8e1..defe898a6ee9ce232da46698e611be58bb15dfc2 100644
(file)
--- 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))