Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
testaccount90009 committed Nov 14, 2024
1 parent 6538d8a commit d4f162f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dojo/tools/mend/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,8 @@ def _build_common_output(node, lib_name=None):

def create_finding_key(f: Finding) -> str:
# """Hashes the finding's description and title to retrieve a key for deduplication."""
description = f.description if f.description else ""
return hashlib.md5(
description.encode("utf-8")
f.description.encode("utf-8")
+ f.title.encode("utf-8"),
).hexdigest()

Expand Down

0 comments on commit d4f162f

Please sign in to comment.