diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2006-09-25 16:16:17 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2006-09-25 16:16:17 +0200 |
commit | 2e68e3cc3abb7096715b87577092471180708222 (patch) | |
tree | 2378d4953e471d317dd9003295749c8d72972bc3 /utils.py | |
parent | 997df1b780aaa30bbcee159504ca01a0f193841d (diff) | |
download | pylint-git-2e68e3cc3abb7096715b87577092471180708222.tar.gz |
fixed python \>= 2.4 format false positive with multiple lines statement
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ class MessagesHandlerMixIn: provide the line argument. """ if line is None and node is not None: - line = node.lineno or node.statement().lineno + line = node.fromlineno#lineno or node.statement().lineno #if not isinstance(node, Module): # assert line > 0, node.__class__ # should this message be displayed |