From: Dmitry Selyutin Date: Tue, 16 Jan 2024 19:09:45 +0000 (+0300) Subject: insndb/core: fix operands iteration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6745ece8faa51bd437eb86d73260619b161d925;p=openpower-isa.git insndb/core: fix operands iteration --- diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index f441cf8b..ae308c8c 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -629,7 +629,7 @@ class Fields(dict): return hash(tuple(sorted(self.items()))) def __iter__(self): - yield from self.__mapping.items() + yield from self.items() class Operands(dict):