diff options
author | Cosmin Poieana <cmin@ropython.org> | 2015-05-08 11:57:29 +0300 |
---|---|---|
committer | Cosmin Poieana <cmin@ropython.org> | 2015-05-08 11:57:29 +0300 |
commit | 86b3f90914712dfda6dc1cc66e76fd28e03c9c50 (patch) | |
tree | 3b477b254fe9f8d7378a8b92d00b77daf5c61b07 /pylint/checkers/variables.py | |
parent | 87ecb9516898b2ad1dfc93d4672c90acec34130a (diff) | |
parent | 28a2583708f2ca51d3d237dd69e91b91aafdafd2 (diff) | |
download | pylint-86b3f90914712dfda6dc1cc66e76fd28e03c9c50.tar.gz |
Merge
Diffstat (limited to 'pylint/checkers/variables.py')
-rw-r--r-- | pylint/checkers/variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 8e3789a..45fd76d 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -543,7 +543,7 @@ builtins. Remember that you should avoid to define new builtins when possible.' # don't check arguments of abstract methods or within an interface is_method = node.is_method() klass = node.parent.frame() - if is_method and (klass.type == 'interface' or node.is_abstract()): + if is_method and node.is_abstract(): return if is_method and isinstance(klass, astroid.Class): confidence = INFERENCE if has_known_bases(klass) else INFERENCE_FAILURE |