5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-08 12:19:59 +08:00

SQOOP-2482: Sqoop2: Precommit: Cobertura method is using wrong variable name

(Jarek Jarcec Cecho via Richard Zhou)
This commit is contained in:
Richard Zhou 2015-08-14 10:56:35 +08:00
parent 5c85fc1fb8
commit 269029625a

View File

@ -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))