File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } "
You can’t perform that action at this time.
0 commit comments