summaryrefslogtreecommitdiff
path: root/pylint/pyreverse
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
commit31705ac6bc30a70352fa61581f7b0d9007c267d6 (patch)
treee4efd68c53aa8c4070569c236c95c7d0efb2dac8 /pylint/pyreverse
parentf1564436af88f33e2a333926de7d93f8c5890fc7 (diff)
downloadpylint-git-31705ac6bc30a70352fa61581f7b0d9007c267d6.tar.gz
Fix instances of unneeded-not in pylint's codebase.
Diffstat (limited to 'pylint/pyreverse')
-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 b9712a742..4fd86b8a1 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