summaryrefslogtreecommitdiff
path: root/coverage/xmlreport.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-10-21 15:05:18 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-10-21 15:05:18 -0400
commit3fab8594699c2196fc2c9d5b506d8245331c903d (patch)
tree765226370134dc65d8b088fb946c5ad5ff57489c /coverage/xmlreport.py
parent3c2fa16c8145eb7bfe621202703cd017730e155f (diff)
downloadpython-coveragepy-3fab8594699c2196fc2c9d5b506d8245331c903d.tar.gz
Minor style tweaks
Diffstat (limited to 'coverage/xmlreport.py')
-rw-r--r--coverage/xmlreport.py2
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: