diff options
author | Nicolas Fella <nicolas.fella@gmx.de> | 2021-08-03 00:28:49 +0200 |
---|---|---|
committer | Nicolas Fella <nicolas.fella@gmx.de> | 2021-08-05 23:39:58 +0000 |
commit | 602e48163b01db0bfcc909295e9a213d9b1b76da (patch) | |
tree | a75b78b4a4e75431846e97026411f6a2d1fd247b | |
parent | ed3a19e64b8225f0edb1dacf764eb03ae88fb6d5 (diff) | |
download | extra-cmake-modules-602e48163b01db0bfcc909295e9a213d9b1b76da.tar.gz extra-cmake-modules-602e48163b01db0bfcc909295e9a213d9b1b76da.tar.bz2 |
[ecmcheckoutboundlicense] Ensure that last source file is always processedv5.85.0-rc1v5.85.0
Sometimes reuse spdx does not produce an empty line after the last FileName line and thus the file is never added to the dictionary
-rwxr-xr-x | modules/check-outbound-license.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/check-outbound-license.py b/modules/check-outbound-license.py index 225181f7..78a24765 100755 --- a/modules/check-outbound-license.py +++ b/modules/check-outbound-license.py @@ -128,6 +128,8 @@ if __name__ == '__main__': licenses = [] f.close() + spdxDictionary[fileName] = licenses + # read file with list of test files f = open(args.input, "r") testfiles = f.readlines() |