diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/vendor-licenses | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/vendor-licenses b/bin/vendor-licenses index 2dbde36..1303558 100755 --- a/bin/vendor-licenses +++ b/bin/vendor-licenses @@ -33,11 +33,11 @@ def main() -> int: _, data, license_text = contents.split('---\n', 2) - spdx, = [ + spdx, = ( line[len('spdx-id:'):].strip() for line in data.splitlines() if line.startswith('spdx-id:') - ] + ) licenses.append((spdx, license_text)) |