aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--sec_certs/certificate/__init__.py0
-rw-r--r--sec_certs/dataset/__init__.py0
-rw-r--r--sec_certs/helpers.py1
3 files changed, 1 insertions, 0 deletions
diff --git a/sec_certs/certificate/__init__.py b/sec_certs/certificate/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/sec_certs/certificate/__init__.py
diff --git a/sec_certs/dataset/__init__.py b/sec_certs/dataset/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/sec_certs/dataset/__init__.py
diff --git a/sec_certs/helpers.py b/sec_certs/helpers.py
index 87f6e25e..62ba42ff 100644
--- a/sec_certs/helpers.py
+++ b/sec_certs/helpers.py
@@ -481,6 +481,7 @@ def search_only_headers_bsi(filepath: Path):
return constants.RETURNCODE_OK, items_found
+
def extract_keywords(filepath: Path) -> Tuple[int, Optional[Dict[str, str]]]:
try:
result = extract_certificates.parse_cert_file(filepath, cc_search_rules, -1, extract_certificates.LINE_SEPARATOR)[0]