aboutsummaryrefslogtreecommitdiffhomepage
path: root/sec_certs/dataset/fips_algorithm.py
diff options
context:
space:
mode:
authorAdam Janovsky2021-05-13 18:04:54 +0200
committerAdam Janovsky2021-05-13 18:04:54 +0200
commita910f54e314109203f38cea6a36b6ccc57587998 (patch)
tree569b3a8b7fc253888140c158a136abadc79fcb50 /sec_certs/dataset/fips_algorithm.py
parentcac770c3662a826f545c47f6e2181b03139ed3f8 (diff)
downloadsec-certs-a910f54e314109203f38cea6a36b6ccc57587998.tar.gz
sec-certs-a910f54e314109203f38cea6a36b6ccc57587998.tar.zst
sec-certs-a910f54e314109203f38cea6a36b6ccc57587998.zip
delete old API
Diffstat (limited to 'sec_certs/dataset/fips_algorithm.py')
-rw-r--r--sec_certs/dataset/fips_algorithm.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sec_certs/dataset/fips_algorithm.py b/sec_certs/dataset/fips_algorithm.py
index d3995278..aa19fba9 100644
--- a/sec_certs/dataset/fips_algorithm.py
+++ b/sec_certs/dataset/fips_algorithm.py
@@ -5,7 +5,8 @@ from typing import Dict, Union
from bs4 import BeautifulSoup
-from sec_certs import helpers as helpers, constants as constants, cert_processing as cert_processing, files as files
+import sec_certs.helpers
+from sec_certs import helpers as helpers, constants as constants, parallel_processing as cert_processing
from sec_certs.dataset.dataset import Dataset
from sec_certs.serialization import ComplexSerializableType, CustomJSONEncoder, CustomJSONDecoder
from sec_certs.certificate.fips import FIPSCertificate
@@ -43,7 +44,7 @@ class FIPSAlgorithmDataset(Dataset, ComplexSerializableType):
cert_id = alg_string[len(cert_type):]
return cert_type.strip(), cert_id.strip()
- for f in files.search_files(self.root_dir):
+ for f in sec_certs.helpers.search_files(self.root_dir):
with open(f, 'r', encoding='utf-8') as handle:
html_soup = BeautifulSoup(handle.read(), 'html.parser')