summaryrefslogtreecommitdiff
path: root/lab
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-02-25 07:31:37 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-02-25 07:31:37 -0500
commitba3b00aea7ece98694766976095a46bcffc2e403 (patch)
tree5bba32d684b47ccf762dc737339d5dfa13c2907c /lab
parent85192a6e7d133c053945516d75040cc2295dc014 (diff)
downloadpython-coveragepy-git-ba3b00aea7ece98694766976095a46bcffc2e403.tar.gz
Some plus_one lines were missing when drawing arcs
Diffstat (limited to 'lab')
-rw-r--r--lab/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lab/parser.py b/lab/parser.py
index 4deb93e9..0393d209 100644
--- a/lab/parser.py
+++ b/lab/parser.py
@@ -167,7 +167,6 @@ class ParserMain(object):
that line.
"""
-
plus_ones = set()
arc_chars = collections.defaultdict(str)
for lfrom, lto in sorted(arcs):
@@ -178,6 +177,7 @@ class ParserMain(object):
else:
if lfrom == lto - 1:
plus_ones.add(lfrom)
+ arc_chars[lfrom] += "" # ensure this line is in arc_chars
continue
if lfrom < lto:
l1, l2 = lfrom, lto