zephyr/scripts/west_commands/zspdx
Jordan Yates 06aae61019 scripts: zspdx: fix writing custom license IDs
The builtin list function `.sort()` sorts the list in-place and returns
None. As this is an invalid type for iteration, use the builtin `sorted`
function, which returns a sorted copy of the list, which we can iterate
over.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-05-23 10:18:06 +02:00
..
__init__.py
cmakecache.py
cmakefileapi.py
cmakefileapijson.py
datatypes.py
getincludes.py
licenses.py
sbom.py
scanner.py
spdxids.py
util.py
walker.py
writer.py scripts: zspdx: fix writing custom license IDs 2022-05-23 10:18:06 +02:00