Skip to content

Commit 77fd7b7

Browse files
ChurroCopilot
andauthored
Update cyclonedx/model/license.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Johannes Feichtner <343448+Churro@users.noreply.github.com>
1 parent fdfea5a commit 77fd7b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cyclonedx/model/license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def __lt__(self, other: Any) -> bool:
641641
if isinstance(other, LicenseExpression):
642642
return True # self before any LicenseExpression
643643
if isinstance(other, DisjunctiveLicense):
644-
return False # self before any LicenseExpression
644+
return False # self after any DisjunctiveLicense
645645
return NotImplemented
646646

647647
def __repr__(self) -> str:

0 commit comments

Comments
 (0)