diff options
| author | J08nY | 2023-08-29 16:47:09 +0200 |
|---|---|---|
| committer | J08nY | 2023-08-29 16:47:09 +0200 |
| commit | 194087cfcb8d4e7f0bd43234f008399ef0348193 (patch) | |
| tree | 3b2eaea67048584dd7e6816add58bd743f9b77cb /pyecsca | |
| parent | 42c52db82f97c56f1c413f68bd31e8b0ae54608e (diff) | |
| download | pyecsca-194087cfcb8d4e7f0bd43234f008399ef0348193.tar.gz pyecsca-194087cfcb8d4e7f0bd43234f008399ef0348193.tar.zst pyecsca-194087cfcb8d4e7f0bd43234f008399ef0348193.zip | |
Fix configuration enumeration check for ABC.
Diffstat (limited to 'pyecsca')
| -rw-r--r-- | pyecsca/ec/configuration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/ec/configuration.py b/pyecsca/ec/configuration.py index 6ed2190..eb70ddc 100644 --- a/pyecsca/ec/configuration.py +++ b/pyecsca/ec/configuration.py @@ -147,7 +147,7 @@ def all_configurations(**kwargs) -> Generator[Configuration, Configuration, None for subclass in subs: if subclass.__subclasses__(): result.update(leaf_subclasses(subclass)) - elif not issubclass(subclass, ABC): + elif ABC not in subclass.__bases__: result.add(subclass) return result |
