summaryrefslogtreecommitdiff
path: root/coverage/jsonreport.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/jsonreport.py')
-rw-r--r--coverage/jsonreport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/jsonreport.py b/coverage/jsonreport.py
index 7ca468e3..3afae2cc 100644
--- a/coverage/jsonreport.py
+++ b/coverage/jsonreport.py
@@ -115,4 +115,4 @@ def _convert_branch_arcs(branch_arcs):
"""Convert branch arcs to a list of two-element tuples."""
for source, targets in branch_arcs.items():
for target in targets:
- yield source, target if target != -1 else 0
+ yield source, target