diff options
author | 2019-05-11 22:19:16 +0200 | |
---|---|---|
committer | 2019-05-20 13:25:21 -0600 | |
commit | e6d319f68d4dcf355e89a7b21368c47c004a14c2 (patch) | |
tree | e1f38e82306f021077899d41bfb082531ea354e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | counter: fix Documentation build error due to incorrect source file name (diff) | |
download | wireguard-linux-e6d319f68d4dcf355e89a7b21368c47c004a14c2.tar.xz wireguard-linux-e6d319f68d4dcf355e89a7b21368c47c004a14c2.zip |
scripts/spdxcheck.py: Fix path to deprecated licenses
The directory name for other licenses was changed to "deprecated" in
commit 62be257e986d ("LICENSES: Rename other to deprecated"). But it was
not changed for spdxcheck.py. As result, checkpatch failed with
FAIL: "Blob or Tree named 'other' not found"
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 240, in <module>
spdx = read_spdxdata(repo)
File "scripts/spdxcheck.py", line 41, in read_spdxdata
for el in lictree[d].traverse():
File "/usr/lib/python2.7/dist-packages/git/objects/tree.py", line 298, in __getitem__
return self.join(item)
File "/usr/lib/python2.7/dist-packages/git/objects/tree.py", line 244, in join
raise KeyError(msg % file)
KeyError: "Blob or Tree named 'other' not found"
Fixes: 62be257e986d ("LICENSES: Rename other to deprecated")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions