From: Luke Kenneth Casson Leighton Date: Sun, 11 Jun 2023 12:22:57 +0000 (+0100) Subject: temporary hack-revert, the original is now in branch "paths" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56dabf8c433fd474ed8da03bf3d60d50c4468637;p=openpower-isa.git temporary hack-revert, the original is now in branch "paths" Revert "insndb/core: fix operands iteration" This reverts commit 84019f9487c696d066087cf7de7d049f883c2bd3. --- 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):