10000 [fix] use correct value for LicenseListVersion by meretp · Pull Request #501 · spdx/tools-python · GitHub
[go: up one dir, main page]

Skip to content

[fix] use correct value for LicenseListVersion #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[fix] use correct value for LicenseListVersion
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
  • Loading branch information
meretp committed Mar 2, 2023
commit 0c50f7fb6953ab929fac89cfe1fd389e979582e8
2 changes: 1 addition & 1 deletion src/spdx/writer/tagvalue/creation_info_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def write_creation_info(creation_info: CreationInfo, text_output: TextIO):
write_separator(text_output)

text_output.write("## Creation Information\n")
write_value("LicenseListVersion", str(creation_info.spdx_version), text_output)
write_value("LicenseListVersion", str(creation_info.license_list_version), text_output)
for creator in creation_info.creators:
write_value("Creator", creator.to_serialized_string(), text_output)
write_value("Created", datetime_to_iso_string(creation_info.created), text_output)
Expand Down
0