Skip to content

Commit 7d57c73

Browse files
authored
fix: improved comparison functionality of model.VulnerabilityAnalysis (#795)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 4a3955a commit 7d57c73

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cyclonedx/model/vulnerability.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,10 @@ def last_updated(self, last_updated: Optional[datetime]) -> None:
337337

338338
def __comparable_tuple(self) -> _ComparableTuple:
339339
return _ComparableTuple((
340-
self.state, self.justification, tuple(self.responses), self.detail, self.first_issued, self.last_updated
340+
self.state, self.justification,
341+
_ComparableTuple(self.responses),
342+
self.detail,
343+
self.first_issued, self.last_updated
341344
))
342345

343346
def __eq__(self, other: object) -> bool:

0 commit comments

Comments
 (0)