Skip to content

Commit 21aeb75

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 128b25d commit 21aeb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx/model/vulnerability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def get_value_pre_1_4(self) -> str:
652652
Returns:
653653
`str`
654654
"""
655-
if self == VulnerabilityScoreSource.OWASP:
655+
if self is VulnerabilityScoreSource.OWASP:
656656
return 'OWASP Risk'
657657
return self.value # type:ignore[no-any-return]
658658

0 commit comments

Comments
 (0)