Skip to content

Commit 3dc4fa6

Browse files
Churrojkowalleck
andauthored
Update cyclonedx/model/license.py
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com> Signed-off-by: Johannes Feichtner <343448+Churro@users.noreply.github.com>
1 parent 7312022 commit 3dc4fa6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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)