diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-25 11:26:52 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-25 11:26:52 +0200 |
commit | 31705ac6bc30a70352fa61581f7b0d9007c267d6 (patch) | |
tree | e4efd68c53aa8c4070569c236c95c7d0efb2dac8 /pylint/pyreverse | |
parent | f1564436af88f33e2a333926de7d93f8c5890fc7 (diff) | |
download | pylint-git-31705ac6bc30a70352fa61581f7b0d9007c267d6.tar.gz |
Fix instances of unneeded-not in pylint's codebase.
Diffstat (limited to 'pylint/pyreverse')
-rw-r--r-- | pylint/pyreverse/inspector.py | 2 |
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 |