summaryrefslogtreecommitdiff
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
commit4e3660539bbee3947787ab9c517df7254fa97851 (patch)
tree0014894cd7218bc72d857b08c404e00e41faa25a
parentd676fb6052b9143f6b4f1e35ed7c6fe95d48ff8f (diff)
downloadpython-coveragepy-4e3660539bbee3947787ab9c517df7254fa97851.tar.gz
Some plus_one lines were missing when drawing arcs
-rw-r--r--lab/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lab/parser.py b/lab/parser.py
index 4deb93e..0393d20 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