Skip to content

Commit 09f08b5

Browse files
fix async stuff in perf test (#12901)
1 parent 68d7d26 commit 09f08b5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

dojo/importers/default_reimporter.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def process_matched_mitigated_finding(
453453
"have different dates, not taking action"
454454
)
455455
logger.debug(msg)
456-
# Return True here to force the loop to continue
456+
# Return True here to force the loop to continue to the next finding
457457
return existing_finding, True
458458
# even if there is no mitigation time, skip it, because both the current finding and
459459
# the reimported finding are is_mitigated
@@ -480,8 +480,7 @@ def process_matched_mitigated_finding(
480480
)
481481
note.save()
482482
existing_finding.notes.add(note)
483-
existing_finding.save_no_options()
484-
# Return True here to force the loop to continue
483+
# Return True here to force the loop to continue to the next finding
485484
return existing_finding, True
486485
logger.debug(
487486
f"Reactivating: - {existing_finding.id}: {existing_finding.title} "

0 commit comments

Comments
 (0)