summaryrefslogtreecommitdiff
path: root/pylint/pyreverse/inspector.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-25 11:26:52 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-25 11:26:52 +0200
commit5b7deb7654ea35b1384f8a9398c18fb7466133c6 (patch)
tree2042cac8222980914dfd5f6f6625ba4de27d0a4e /pylint/pyreverse/inspector.py
parent886c03cf2ac8758519dfd50c12b486d76d231d0d (diff)
downloadpylint-5b7deb7654ea35b1384f8a9398c18fb7466133c6.tar.gz
Fix instances of unneeded-not in pylint's codebase.
Diffstat (limited to 'pylint/pyreverse/inspector.py')
-rw-r--r--pylint/pyreverse/inspector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/pyreverse/inspector.py b/pylint/pyreverse/inspector.py
index b9712a7..4fd86b8 100644
--- a/pylint/pyreverse/inspector.py
+++ b/pylint/pyreverse/inspector.py
@@ -57,7 +57,7 @@ def interfaces(node, herited=True, handler_func=_iface_hdlr):
implements = bases.Instance(node).getattr('__implements__')[0]
except exceptions.NotFoundError:
return
- if not herited and not implements.frame() is node:
+ if not herited and implements.frame() is not node:
return
found = set()
missing = False