Skip to content

Commit 79f8fe8

Browse files
Update dojo/importers/base_importer.py
Co-authored-by: kiblik <5609770+kiblik@users.noreply.github.com>
1 parent 7cae7bb commit 79f8fe8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dojo/importers/base_importer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ def update_import_history(
390390
# In longer running imports it can happen that the async_dupe_delete task removes a finding before the history record is created
391391
# We filter out these findings here to avoid FK violations (IntegrityError)
392392
all_findings = []
393-
for _list, _ in finding_action_mappings: # noqa: RUF052
394-
all_findings.extend(_list)
393+
for list_, _ in finding_action_mappings:
394+
all_findings.extend(list_)
395395
existing_findings = finding_helper.filter_findings_by_existence(all_findings) if all_findings else []
396396
existing_ids = {f.id for f in existing_findings}
397397

0 commit comments

Comments
 (0)