Skip to content

Commit

Permalink
Merge pull request #4 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
docs: fix typos
  • Loading branch information
tngraf authored May 10, 2024
2 parents 8856e8d + 674630a commit 3638f5d
Show file tree
Hide file tree
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
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

0 comments on commit 3638f5d

Please sign in to comment.