06aae61019
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> |
||
---|---|---|
.. | ||
__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 |