Skip to content

Commit 611a5f6

Browse files
committed
docs
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent e82e737 commit 611a5f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cyclonedx_py/_internal/utils/packaging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def metadata2licenses(metadata: 'PackageMetadata', lfac: 'LicenseFactory',
4040
if (lexp := metadata.get('License-Expression')) is not None:
4141
# see https://packaging.python.org/en/latest/specifications/license-expression/
4242
# see spec: https://peps.python.org/pep-0639/#add-license-expression-field
43-
# use `make_from_string` to have simple SPDX expressions that are just one disjunctive license be simplified in the process
43+
# Use `make_from_string` to have simple SPDX expressions that are just one disjunctive license
44+
# to be simplified to a CycloneDX license it.
4445
yield lfac.make_from_string(lexp,
4546
license_acknowledgement=lack)
4647
# Per PEP 639: if License-Expression exists, the deprecated declarations MUST be ignored

0 commit comments

Comments
 (0)