Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Galligan committed Nov 29, 2022
1 parent e435e50 commit ee90eec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fdi/findings_data_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def extract_findings(findings_data,field_map_dict):
Returns
-------
list : A list of findings objects from findings_data that pass validation
"""
valid_findings = []
# Iterate through data and save each record to the database
Expand Down Expand Up @@ -415,7 +415,7 @@ def import_data(
db_hostname=db_hostname,
db_port=db_port
)

logging.info(f"Extracting/validating findings from {data_filename}")
valid_findings = extract_findings(
findings_data=findings_data,field_map_dict=field_map_dict
Expand All @@ -430,7 +430,7 @@ def import_data(
},
{"$set": finding},
upsert=True,
)
)

logging.info(
f"{len(valid_findings)}/{len(findings_data)} documents successfully processed from '{data_filename}'."
Expand Down

0 comments on commit ee90eec

Please sign in to comment.