From 602e48163b01db0bfcc909295e9a213d9b1b76da Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 3 Aug 2021 00:28:49 +0200 Subject: [ecmcheckoutboundlicense] Ensure that last source file is always processed Sometimes reuse spdx does not produce an empty line after the last FileName line and thus the file is never added to the dictionary --- modules/check-outbound-license.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/check-outbound-license.py') 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() -- cgit v1.2.1