From 269029625a1c58816f247e358eb82c3bde7e5edf Mon Sep 17 00:00:00 2001 From: Richard Zhou Date: Fri, 14 Aug 2015 10:56:35 +0800 Subject: [PATCH] SQOOP-2482: Sqoop2: Precommit: Cobertura method is using wrong variable name (Jarek Jarcec Cecho via Richard Zhou) --- dev-support/test-patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py index b3cf7c31..906f612c 100755 --- a/dev-support/test-patch.py +++ b/dev-support/test-patch.py @@ -353,7 +353,7 @@ def cobertura_compare(result, output_dir, compare_url): remoteIo = open_url("%s%s" % (compare_url, path)) except urllib2.HTTPError: report.write("Package %s: Base is missing" % (package)) - summary.append("Package {{%p}}: Can't compare test coverage as base is missing." % (package)) + lowers.append("Package {{%p}}: Can't compare test coverage as base is missing." % (package)) continue (localLine, localBranch) = cobertura_get_percentage(open(path))