aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/check-outbound-license.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/check-outbound-license.py b/modules/check-outbound-license.py
index b8c1ef23..2657e628 100755
--- a/modules/check-outbound-license.py
+++ b/modules/check-outbound-license.py
@@ -125,15 +125,15 @@ if __name__ == '__main__':
spdxDictionary[fileName] = licenses
fileName = ""
licenses = []
- f.close();
+ f.close()
# read file with list of test files
f = open(args.input, "r")
testfiles = f.readlines()
f.close()
- if check_outbound_license(args.license, testfiles, spdxDictionary) == True:
- sys.exit(0);
+ if check_outbound_license(args.license, testfiles, spdxDictionary) is True:
+ sys.exit(0)
# in any other case, return error code
sys.exit(1)