Skip to content
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

docs: fix typos #4

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion cli_support/license_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def is_source_code_shipping_license(spdx_identifier: str) -> bool:
be ready to be shipped to customers.
Please note that this is a very simplified approach."""
licenseUpper = spdx_identifier.upper()
if "GPL" in licenseUpper: # incudes LGPL
if "GPL" in licenseUpper: # includes LGPL
return True
if "CDDL" in licenseUpper:
return True
Expand Down
2 changes: 1 addition & 1 deletion show_licenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def process_cli_file(self, cli_filename: str) -> None:
except OSError as ex:
print(Fore.LIGHTRED_EX)
print(" Error reading CLI file: " + cli_filename)
print(" Error '{0}' occured. Arguments {1}.".format(ex.errno, ex.args))
print(" Error '{0}' occurred. Arguments {1}.".format(ex.errno, ex.args))
print(Fore.RESET)
return

Expand Down