diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sec_certs/sample/cpe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sec_certs/sample/cpe.py b/src/sec_certs/sample/cpe.py index 64b80b5b..664e70e3 100644 --- a/src/sec_certs/sample/cpe.py +++ b/src/sec_certs/sample/cpe.py @@ -32,7 +32,7 @@ class CPEConfiguration(ComplexSerializableType): For a given set of CPEs method returns boolean if the CPE configuration is matched or not. """ - return self.platform in set_of_cpes and any([cpe for cpe in set_of_cpes]) + return self.platform in set_of_cpes and any(list(set_of_cpes)) @dataclass(init=False) |
