We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ccff2b commit 6962f8bCopy full SHA for 6962f8b
etc/scripts/utils_thirdparty.py
@@ -3089,5 +3089,6 @@ def compute_normalized_license_expression(declared_licenses):
3089
3090
return pypi.compute_normalized_license(declared_licenses)
3091
except ImportError:
3092
- # Scancode is not installed, we join all license strings and return it
3093
- return " ".join(declared_licenses).lower()
+ # Scancode is not installed, clean and join all the licenses
+ lics = [python_safe_name(l).lower() for l in declared_licenses]
3094
+ return " AND ".join(lics).lower()
0 commit comments