Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -H`
kianmeng committed May 9, 2024
1 parent 8856e8d commit 674630a
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli_support/license_tools.py
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion show_licenses.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 674630a

Please sign in to comment.