We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cae7bb commit 79f8fe8Copy full SHA for 79f8fe8
1 file changed
dojo/importers/base_importer.py
@@ -390,8 +390,8 @@ def update_import_history(
390
# In longer running imports it can happen that the async_dupe_delete task removes a finding before the history record is created
391
# We filter out these findings here to avoid FK violations (IntegrityError)
392
all_findings = []
393
- for _list, _ in finding_action_mappings: # noqa: RUF052
394
- all_findings.extend(_list)
+ for list_, _ in finding_action_mappings:
+all_findings.extend(list_)
395
existing_findings = finding_helper.filter_findings_by_existence(all_findings) if all_findings else []
396
existing_ids = {f.id for f in existing_findings}
397
0 commit comments