Skip to content

Commit 570400f

Browse files
simplify
1 parent 2bdc38a commit 570400f

File tree

2 files changed

+207
-242
lines changed

2 files changed

+207
-242
lines changed

dojo/tools/mayhem/parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
SarifParser,
88
get_codeFlowsDescription,
99
get_snippet,
10-
get_title,
1110
)
1211

1312
logger = logging.getLogger(__name__)
@@ -37,7 +36,7 @@ def get_finding_type(self):
3736
def get_finding_title(self, result, rule, location):
3837
"""Get and clean the title text for Mayhem SARIF reports."""
3938
# Get the default title first
40-
title = get_title(result, rule)
39+
title = super().get_finding_title(result, rule, location)
4140

4241
if not title:
4342
return ""

0 commit comments

Comments
 (0)