Skip to content

Commit c15045b

Browse files
fix CVSS2.0 test case
1 parent 5be5926 commit c15045b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

dojo/validators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def cvss3_validator(value: str | list[str], exception_class: Callable = Validati
2323
msg = "Unsupported CVSS(4) version detected."
2424
raise exception_class(msg)
2525
if isinstance(vector_obj, CVSS2):
26-
# CVSS2 is not supported yet by the parse_cvss_from_text function, but let's prepare for it anyway: https://github.com/RedHatProductSecurity/cvss/issues/53
2726
msg = "Unsupported CVSS(2) version detected."
2827
raise exception_class(msg)
2928

0 commit comments

Comments
 (0)