aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sec_certs/dataset/fips_algorithm.py
diff options
context:
space:
mode:
authorAdam Janovsky2023-11-14 13:46:39 +0100
committerAdam Janovsky2023-11-14 13:46:39 +0100
commitb7b85a17cc048afb16489a5140366de887cb443a (patch)
tree7ced19e76bf9cd9b64663c38f23e9f7026227277 /src/sec_certs/dataset/fips_algorithm.py
parent80190b01aeda844b9d3ea8684284130c44f1453e (diff)
parent1ccca9ae8afa8e6574e1cbba2c93b8d5428e2b2e (diff)
downloadsec-certs-b7b85a17cc048afb16489a5140366de887cb443a.tar.gz
sec-certs-b7b85a17cc048afb16489a5140366de887cb443a.tar.zst
sec-certs-b7b85a17cc048afb16489a5140366de887cb443a.zip
merge fresh main
Diffstat (limited to 'src/sec_certs/dataset/fips_algorithm.py')
-rw-r--r--src/sec_certs/dataset/fips_algorithm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sec_certs/dataset/fips_algorithm.py b/src/sec_certs/dataset/fips_algorithm.py
index fbc8351a..f3f27c0b 100644
--- a/src/sec_certs/dataset/fips_algorithm.py
+++ b/src/sec_certs/dataset/fips_algorithm.py
@@ -82,7 +82,7 @@ class FIPSAlgorithmDataset(JSONPathDataset, ComplexSerializableType):
if failed_tuples:
failed_urls, failed_paths = zip(*failed_tuples)
responses = helpers.download_parallel(failed_urls, failed_paths)
- if any([x != constants.RESPONSE_OK for x in responses]):
+ if any(x != constants.RESPONSE_OK for x in responses):
raise ValueError("Failed to download the algorithms HTML data, the dataset won't be constructed.")
return paths