From 00b6dd7817da35f361a94da903367a841bfdaed0 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 20 Nov 2012 05:41:41 -0500 Subject: Silence the last of the pylint warnings. --- coverage/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/parser.py') diff --git a/coverage/parser.py b/coverage/parser.py index 636a8353..3694b924 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -529,7 +529,7 @@ class ByteParser(object): chunks.append(chunk) # Give all the chunks a length. - chunks[-1].length = bc.next_offset - chunks[-1].byte + chunks[-1].length = bc.next_offset - chunks[-1].byte # pylint: disable=W0631,C0301 for i in range(len(chunks)-1): chunks[i].length = chunks[i+1].byte - chunks[i].byte @@ -576,7 +576,7 @@ class ByteParser(object): else: # No chunk for this byte! raise Exception("Couldn't find chunk @ %d" % byte) - byte_chunks[byte] = ch + byte_chunks[byte] = ch # pylint: disable=W0631 if ch.line: lines.add(ch.line) -- cgit v1.2.1