diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-26 12:11:57 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-26 12:11:57 +0300 |
commit | a587da29fca7abbaaf9b43a7c48d8dc41621f35e (patch) | |
tree | 8022832d935bf78570c974e2a91f1ae5d35e0819 /pylint/checkers/typecheck.py | |
parent | cff9ac71dcab7c803eaeca080c829842c6e433d2 (diff) | |
download | pylint-a587da29fca7abbaaf9b43a7c48d8dc41621f35e.tar.gz |
Remove unused argument.
Diffstat (limited to 'pylint/checkers/typecheck.py')
-rw-r--r-- | pylint/checkers/typecheck.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index 14be889..42b1747 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -143,7 +143,7 @@ SEQUENCE_TYPES = set(['str', 'unicode', 'list', 'tuple', 'bytearray', 'xrange', 'range', 'bytes', 'memoryview']) -def _emit_no_member(node, owner, owner_name, attrname, ignored_mixins): +def _emit_no_member(node, owner, owner_name, ignored_mixins): """Try to see if no-member should be emitted for the given owner. The following cases are ignored: @@ -350,7 +350,7 @@ accessed. Python regular expressions are accepted.'} # but we continue to the next values which doesn't have the # attribute, then we'll have a false positive. # So call this only after the call has been made. - if not _emit_no_member(node, owner, name, node.attrname, + if not _emit_no_member(node, owner, name, self.config.ignore_mixin_members): continue missingattr.add((owner, name)) |