aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sec_certs/dataset/fips_algorithm.py
diff options
context:
space:
mode:
authoradamjanovsky2023-11-10 12:54:00 +0100
committerGitHub2023-11-10 12:54:00 +0100
commit1ccca9ae8afa8e6574e1cbba2c93b8d5428e2b2e (patch)
treec0c2f35f921f3551f2bf0a146c1cbd6c0494f7a9 /src/sec_certs/dataset/fips_algorithm.py
parent5968e53d9f78d744c1bd151be0d754282e65baee (diff)
parent10aa312c5e83c197a2d41fec710c5301bfff169e (diff)
downloadsec-certs-1ccca9ae8afa8e6574e1cbba2c93b8d5428e2b2e.tar.gz
sec-certs-1ccca9ae8afa8e6574e1cbba2c93b8d5428e2b2e.tar.zst
sec-certs-1ccca9ae8afa8e6574e1cbba2c93b8d5428e2b2e.zip
Merge pull request #373 from crocs-muni/switch-black-to-ruff
switch black -> ruff format
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