From 82b67e1dd205bbd42ada30c7967bba81aa9aad9d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 11 Jun 2023 13:22:57 +0100 Subject: [PATCH] temporary hack-revert, the original is now in branch "paths" Revert "insndb/core: fix operands iteration" This reverts commit 84019f9487c696d066087cf7de7d049f883c2bd3. --- src/openpower/insndb/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 1388fa21..973aac00 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -884,7 +884,7 @@ class Operands(Dict, datatype=object): @staticmethod def filter(cls): - return lambda pair: issubclass(pair[0], cls) + return lambda pair: isinstance(pair[0], cls) @cached_property def static(self): -- 2.30.2