From: Dmitry Selyutin Date: Mon, 12 Jun 2023 06:19:07 +0000 (+0300) Subject: insndb/core: fix operands kwargs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13d4191166b06ceb27b71af52575a7a47d450987;p=openpower-isa.git insndb/core: fix operands kwargs --- diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 1388fa21..aef9530d 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -1116,7 +1116,7 @@ class Record(Dataclass): def __getitem__(self, key): (cls, kwargs) = self.mdwn.operands.__getitem__(key) - return cls(record=self, **kwargs) + return cls(record=self, **dict(kwargs)) @cached_property def Rc(self):