Skip to content

Commit 5afc7a3

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 3fe0999 commit 5afc7a3

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
@@ -627,7 +627,6 @@ def json_normalize(cls, o: LicenseRepository, *,
627627
**__: Any) -> Any:
628628
if len(o) == 0:
629629
return None
630-
631630
expression = next((li for li in o if isinstance(li, LicenseExpression)), None)
632631
if expression:
633632
# mixed license expression and license? this is an invalid constellation according to schema!

0 commit comments

Comments
 (0)