mirror of
https://github.com/apache/sqoop.git
synced 2025-05-14 07:51:10 +08:00
SQOOP-2482: Sqoop2: Precommit: Cobertura method is using wrong variable name
(Jarek Jarcec Cecho via Richard Zhou)
This commit is contained in:
parent
5c85fc1fb8
commit
269029625a
@ -353,7 +353,7 @@ def cobertura_compare(result, output_dir, compare_url):
|
|||||||
remoteIo = open_url("%s%s" % (compare_url, path))
|
remoteIo = open_url("%s%s" % (compare_url, path))
|
||||||
except urllib2.HTTPError:
|
except urllib2.HTTPError:
|
||||||
report.write("Package %s: Base is missing" % (package))
|
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
|
continue
|
||||||
|
|
||||||
(localLine, localBranch) = cobertura_get_percentage(open(path))
|
(localLine, localBranch) = cobertura_get_percentage(open(path))
|
||||||
|
Loading…
Reference in New Issue
Block a user