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
commitd19b51a1eedfa1d859fc298d4d4c2abbbb69aefe (patch)
treef0937245fca533f928816c6d8762737102fbe7ea /coverage/xmlreport.py
parent78fb1561f7060b20ca527a8a7e7f9bd5018891cf (diff)
downloadpython-coveragepy-git-d19b51a1eedfa1d859fc298d4d4c2abbbb69aefe.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 a65d5a6d..03f910c8 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: