Skip to content

Commit 9c8ef97

Browse files
committed
docs
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent e29f842 commit 9c8ef97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx_py/_internal/utils/pep639.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def _make_license_from_content(file_name: str, content: Union[str, bytes],
109109
lack: 'LicenseAcknowledgement') -> DisjunctiveLicense:
110110
# In the past, we did best-effort decoding to string,
111111
# see https://github.com/CycloneDX/cyclonedx-python/blob/b7a8f64ae212c5a5fd6b7cf8c83851ba692df256/cyclonedx_py/_internal/utils/pep639.py#L67-L71 # noqa:E501
112-
# But this was dropped, in favour of base64 encoding; CycloneDXis for machines, not humans!
112+
# But this was dropped, in favour of base64 encoding; CycloneDX is for machines, not humans!
113113
content_type = guess_type(file_name) or AttachedText.DEFAULT_CONTENT_TYPE
114114
return DisjunctiveLicense(
115115
name=f'{lack.value} license file: {"/".join(Path(file_name).parts)}',

0 commit comments

Comments
 (0)