insndb/core: fix operands iteration
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:09:45 +0000 (22:09 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:10:08 +0000 (22:10 +0300)
src/openpower/insndb/core.py

index f441cf8bada4ad875800f68f5cf3e2874cced6c1..ae308c8c1d7ac0f053a59047832de608e5038c0d 100644 (file)
@@ -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):