Skip to content
Commit 06aae610 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
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>
parent fa84da58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment