Skip to content

Commit 3dc4fa6

Browse files
Churrojkowalleck
andauthored
Update cyclonedx/model/license.py
Co-authored-by: Jan Kowalleck <[email protected]> Signed-off-by: Johannes Feichtner <[email protected]>
1 parent 7312022 commit 3dc4fa6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cyclonedx/model/license.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,6 @@ def xml_normalize(cls, o: LicenseRepository, *,
677677
# mixed license expression and license? this is an invalid constellation according to schema!
678678
# see https://github.com/CycloneDX/specification/pull/205
679679
# but models need to allow it for backwards compatibility with JSON CDX < 1.5
680-
681680
if expression.expression_details and cls.__supports_expression_details(view):
682681
elem.append(cls.__serialize_license_expression_details_xml(expression, view, xmlns))
683682
else:

0 commit comments

Comments
 (0)