summaryrefslogtreecommitdiff
path: root/checkers
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2006-11-23 14:25:52 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2006-11-23 14:25:52 +0100
commitcb2ee5b6091b9c33d937770fddbbce49ffe5d974 (patch)
treef3cbd80d041dd87da21419037d8695dd13d504f0 /checkers
parent1cad98f77109a0a76eec1baea09c4a20b120b1e1 (diff)
downloadpylint-git-cb2ee5b6091b9c33d937770fddbbce49ffe5d974.tar.gz
#3119 and #3117
Diffstat (limited to 'checkers')
-rw-r--r--checkers/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/format.py b/checkers/format.py
index 890e99aeb..e7ff34a45 100644
--- a/checkers/format.py
+++ b/checkers/format.py
@@ -244,7 +244,7 @@ class FormatChecker(BaseRawChecker):
# "indents" stack was seeded
check_equal = 0
self.check_indent_level(line, indents[-1], line_num)
-
+ line_num -= 1 # to be ok with "wc -l"
if line_num > self.config.max_module_lines:
self.add_message('C0302', args=line_num, line=1)