From 4cb3c8cade538924018e89c51152e80c738c002d Mon Sep 17 00:00:00 2001 From: alexjacks92 Date: Tue, 1 Apr 2014 16:23:26 -0400 Subject: [PATCH] More useful variable name. --- test/script/regression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/script/regression.py b/test/script/regression.py index 61940eb347..7a74a6a977 100755 --- a/test/script/regression.py +++ b/test/script/regression.py @@ -231,8 +231,8 @@ class TestRunner(object): Reports.generate_reports(test_data) if(not test_data.overall_passed): - onlyfiles = [ f for f in os.listdir(test_data.output_path) if os.path.isfile(os.path.join(test_data.output_path,f)) ] - for f in onlyfiles: + diffFiles = [ f for f in os.listdir(test_data.output_path) if os.path.isfile(os.path.join(test_data.output_path,f)) ] + for f in diffFiles: if f.endswith("Diff.txt"): Errors.add_email_attachment(os.path.join(test_data.output_path, f)) Errors.add_email_attachment(test_data.common_log_path)