Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Janson Bunce committed Feb 21, 2025
1 parent 4497c78 commit df50f3b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/src/xfd_django/xfd_api/tasks/vulnScanningSync.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def main():
org_id_dict = process_orgs(request_list)

# Process Organizations & Relations
process_organizations_and_relations(org_id_dict)
process_organizations_and_relations()

# Process Vulnerability Scans
vuln_scans = fetch_from_redshift(
Expand Down Expand Up @@ -345,8 +345,9 @@ def process_port_scans(port_scans, org_id_dict):
print(f"Error processing port scan data: {e}")


def process_orgs(request_list, org_id_dict):
def process_orgs(request_list):
"""Process organization data, save to MDL and return org ID dict for linking."""
org_id_dict = {}
sector_child_dict = {}
parent_child_dict = {}

Expand Down

0 comments on commit df50f3b

Please sign in to comment.