From 7dd6a0658ded9014d5f400afe0b3e7d502c24ea9 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 22 Sep 2009 22:12:04 -0400 Subject: Simple cleanup --- coverage/html.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'coverage/html.py') diff --git a/coverage/html.py b/coverage/html.py index 5d2c561..c098408 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -77,8 +77,7 @@ class HtmlReporter(Reporter): lines = [] for lineno, line in enumerate(source_lines): - lineno += 1 # enum is 0-based, lines are 1-based. - + lineno += 1 # enumerate is 0-based, lines are 1-based. css_class = "" if lineno in statements: -- cgit v1.2.1