diff options
author | cpopa <devnull@localhost> | 2014-01-09 15:38:28 +0200 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-01-09 15:38:28 +0200 |
commit | 558da6531006902e446b30d4f2b7dbddad768ef3 (patch) | |
tree | b3d1349fdd72ae17de139109c86f96b3a2cfb3cc /checkers | |
parent | 083eea1072f926ab1c34a8f7b08d8f587dab839e (diff) | |
download | pylint-558da6531006902e446b30d4f2b7dbddad768ef3.tar.gz |
Ignore non-inferable nodes, add test case for non-inferable nodes.
Diffstat (limited to 'checkers')
-rw-r--r-- | checkers/base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/checkers/base.py b/checkers/base.py index 5df0477..cf4304c 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -711,6 +711,8 @@ functions, methods except NoSuchArgumentError: self.add_message('missing-reversed-argument', node=node) else: + if argument is astroid.YES: + return if argument is None: # nothing was infered # try to see if we have iter() |