aboutsummaryrefslogtreecommitdiffhomepage
path: root/sec_certs/dataset/fips_algorithm.py
diff options
context:
space:
mode:
authorJ08nY2022-07-03 23:49:25 +0200
committerJ08nY2022-07-05 19:12:01 +0200
commit21d434937234e159da3090553d541ac379f1ffec (patch)
treeacf1713a856e703ec75144033efbcef16bfe8271 /sec_certs/dataset/fips_algorithm.py
parentee15eafe3506c6f5973b8295de1ce163587ad2c2 (diff)
downloadsec-certs-21d434937234e159da3090553d541ac379f1ffec.tar.gz
sec-certs-21d434937234e159da3090553d541ac379f1ffec.tar.zst
sec-certs-21d434937234e159da3090553d541ac379f1ffec.zip
Split helpers to thematic chunks.
Split this disorientating junkyard of unrelated functions.
Diffstat (limited to 'sec_certs/dataset/fips_algorithm.py')
-rw-r--r--sec_certs/dataset/fips_algorithm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sec_certs/dataset/fips_algorithm.py b/sec_certs/dataset/fips_algorithm.py
index 14656b3a..91df0d7f 100644
--- a/sec_certs/dataset/fips_algorithm.py
+++ b/sec_certs/dataset/fips_algorithm.py
@@ -5,6 +5,7 @@ from typing import Dict, List, Union
from bs4 import BeautifulSoup
+import sec_certs.utils.extract
from sec_certs import constants as constants
from sec_certs.utils import helpers as helpers
from sec_certs.utils import parallel_processing as cert_processing
@@ -70,7 +71,7 @@ class FIPSAlgorithmDataset(Dataset, ComplexSerializableType):
cert_id = alg_string[len(cert_type) :]
return cert_type.strip(), cert_id.strip()
- for f in helpers.search_files(self.root_dir):
+ for f in sec_certs.utils.extract.search_files(self.root_dir):
if not f.endswith("html"):
continue