From 84019f9487c696d066087cf7de7d049f883c2bd3 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 11 Jun 2023 11:13:11 +0300 Subject: [PATCH] insndb/core: fix operands iteration --- 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 973aac00..1388fa21 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: isinstance(pair[0], cls) + return lambda pair: issubclass(pair[0], cls) @cached_property def static(self): -- 2.30.2