From 35a6b098b33efdde1a3cf8419a0d42023254315c Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 25 Feb 2018 19:38:43 -0500 Subject: [PATCH] [checksum.py] fixed incorrect variable used in stderr message --- tools/scripts/checksum/checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/checksum/checksum.py b/tools/scripts/checksum/checksum.py index dd5a248bf..34031d2f8 100644 --- a/tools/scripts/checksum/checksum.py +++ b/tools/scripts/checksum/checksum.py @@ -101,7 +101,7 @@ def check_checksum(filepaths): check_failed = False for path in filepaths: if not os.path.exists(path): - sys.stderr.write("[checksum.py] ERROR: " + filepath + " is not a valid filepath" + os.linesep) + sys.stderr.write("[checksum.py] ERROR: " + path + " is not a valid filepath" + os.linesep) sys.exit(1) with open(path, mode='r') as file: