summaryrefslogtreecommitdiff
path: root/pylint/checkers/variables.py
diff options
context:
space:
mode:
authorCosmin Poieana <cmin@ropython.org>2015-05-08 11:57:29 +0300
committerCosmin Poieana <cmin@ropython.org>2015-05-08 11:57:29 +0300
commit86b3f90914712dfda6dc1cc66e76fd28e03c9c50 (patch)
tree3b477b254fe9f8d7378a8b92d00b77daf5c61b07 /pylint/checkers/variables.py
parent87ecb9516898b2ad1dfc93d4672c90acec34130a (diff)
parent28a2583708f2ca51d3d237dd69e91b91aafdafd2 (diff)
downloadpylint-86b3f90914712dfda6dc1cc66e76fd28e03c9c50.tar.gz
Merge
Diffstat (limited to 'pylint/checkers/variables.py')
-rw-r--r--pylint/checkers/variables.py2
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