diff options
Diffstat (limited to 'coverage/xmlreport.py')
-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 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: |