diff options
author | Tom Rini <trini@konsulko.com> | 2022-02-03 12:12:49 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-03 12:12:49 -0500 |
commit | b3650c9265efac00f5be5390ea4b4b18f1270a47 (patch) | |
tree | 86ff5fbee12f43f7d700d130c92009aef12fc185 /scripts/spdxcheck.py | |
parent | 006fddde01da7e8b3c7cad4a35f3245edc894ab4 (diff) | |
parent | d502210a9ce3eda828cba8e30f237a4e29a7d797 (diff) | |
download | u-boot-WIP/03Feb2022.zip u-boot-WIP/03Feb2022.tar.gz u-boot-WIP/03Feb2022.tar.bz2 |
Merge branch '2022-02-03-assorted-fixes'WIP/03Feb2022
- Update CI image to have libgnutls available.
- Assorted ARM and SPL bugfixe
Diffstat (limited to 'scripts/spdxcheck.py')
-rwxr-xr-x | scripts/spdxcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py index 3e784cf..ebd06ae 100755 --- a/scripts/spdxcheck.py +++ b/scripts/spdxcheck.py @@ -44,7 +44,7 @@ def read_spdxdata(repo): continue exception = None - for l in open(el.path).readlines(): + for l in open(el.path, encoding="utf-8").readlines(): if l.startswith('Valid-License-Identifier:'): lid = l.split(':')[1].strip().upper() if lid in spdx.licenses: |