Skip to content

Commit 0cbf7a0

Browse files
Update 0229_merge_mobsf.py
1 parent d3d56b3 commit 0cbf7a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dojo/db_migrations/0229_merge_mobsf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def update_parser_test(test, parser_test_type) -> None:
1717

1818
# Update the found_by field to remove Mobsfscan Scan and add MobSF Scan
1919
def update_parser_finding(finding, newparser_test_type, parser_test_type) -> None:
20-
# Check if nessus is in found by list and remove
20+
# Check if old parser is in found by list and remove
2121
if parser_test_type in finding.found_by.all():
2222
finding.found_by.remove(parser_test_type.id)
23-
# Check if tenable is already in list somehow before adding it
23+
# Check if new parser is already in list somehow before adding it
2424
if newparser_test_type not in finding.found_by.all():
2525
finding.found_by.add(newparser_test_type.id)
2626
finding.save()

0 commit comments

Comments
 (0)