diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-21 13:53:39 +0000 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-21 13:53:39 +0000 |
commit | 4c18296bd882e3dfa2207c77b5576af33e9cd8ac (patch) | |
tree | b3aec1d1a7204b33ffa1443fcce33feb7c218d8b /pylint/checkers/stdlib.py | |
parent | de81925fefd71b6ff09b8580d21cfc5abfe1dd2d (diff) | |
download | pylint-git-4c18296bd882e3dfa2207c77b5576af33e9cd8ac.tar.gz |
Add a comment regarding the nodes we're not interested into.
Diffstat (limited to 'pylint/checkers/stdlib.py')
-rw-r--r-- | pylint/checkers/stdlib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index cdf02eae5..493021fcf 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -243,11 +243,12 @@ class StdlibChecker(BaseChecker): py_vers = sys.version_info[0] qname = infer.qname() - if(isinstance(node.func, astroid.Attribute)): + if isinstance(node.func, astroid.Attribute): func_name = node.func.attrname elif isinstance(node.func, astroid.Name): func_name = node.func.name else: + # Not interested in other nodes. return if qname in self.deprecated[0]: |