diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-10-27 17:12:16 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-10-27 17:12:16 -0400 |
commit | e1054fec7ef8969b02094d565eea9a2b1ce727d8 (patch) | |
tree | 0f8a39cfb9681021b557d60e2d3037ac31ff3bcf /coverage | |
parent | ccbd6adce77cd07e31539f1c93c020de4731f52e (diff) | |
parent | 7960d96c12a3c61ca5b890c96442a75b0d7259cd (diff) | |
download | python-coveragepy-e1054fec7ef8969b02094d565eea9a2b1ce727d8.tar.gz |
Merged
Diffstat (limited to 'coverage')
-rw-r--r-- | coverage/xmlreport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/xmlreport.py b/coverage/xmlreport.py index a65d5a6..03f910c 100644 --- a/coverage/xmlreport.py +++ b/coverage/xmlreport.py @@ -114,7 +114,7 @@ class XmlReporter(Reporter): # Q: can we get info about the number of times a statement is # executed? If so, that should be recorded here. - xline.setAttribute("hits", str(int(not line in analysis.missing))) + xline.setAttribute("hits", str(int(line not in analysis.missing))) if self.arcs: if line in branch_stats: |