Skip to content

Commit 13b47a7

Browse files
Merge pull request #4023 from alexzurbonsen/fix-unexpected-missing-spdx-expression
Fix missing spdx license expression in license detection
2 parents ce6251c + 8c7d741 commit 13b47a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/licensedcode/detection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,6 +1907,7 @@ def process_detections(detections, licensing=Licensing()):
19071907
for key in license_keys
19081908
):
19091909
detection.license_expression = license_expression
1910+
detection.license_expression_spdx = detection.spdx_license_expression()
19101911
detection.detection_log.append(DetectionRule.NOT_LICENSE_CLUES.value)
19111912
detection.identifier = detection.identifier_with_expression
19121913

0 commit comments

Comments
 (0)