diff options
| author | Tom Rini <[email protected]> | 2022-02-03 15:55:02 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-03 15:55:02 -0500 |
| commit | 3e5f4b337d89e95af9d3700a4b055b552bf22ac4 (patch) | |
| tree | 86ff5fbee12f43f7d700d130c92009aef12fc185 /scripts/spdxcheck.py | |
| parent | 006fddde01da7e8b3c7cad4a35f3245edc894ab4 (diff) | |
| parent | 5b9a5b2b966bf738ca4115a9dca52d0dc9f2710d (diff) | |
Merge branch '2022-02-03-assorted-fixes'
- Update CI image to have libgnutls available.
- Assorted ARM and SPL bugfixes
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 3e784cf9f40..ebd06ae642c 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: |
