Skip to content

Commit 3fe0999

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 4208cd0 commit 3fe0999

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
@@ -668,7 +668,6 @@ def xml_normalize(cls, o: LicenseRepository, *,
668668
if len(o) == 0:
669669
return None
670670
elem = Element(element_name)
671-
672671
expression = next((li for li in o if isinstance(li, LicenseExpression)), None)
673672
if expression:
674673
# mixed license expression and license? this is an invalid constellation according to schema!

0 commit comments

Comments
 (0)