Skip to content
Commit 5d29d524 authored by Jordan Yates's avatar Jordan Yates Committed by Christopher Friedt
Browse files

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: default avatarJordan Yates <jordan.yates@data61.csiro.au>
(cherry picked from commit 06aae610)
parent be11187e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment