diff options
author | David Shea <dshea@redhat.com> | 2014-07-07 10:45:57 -0400 |
---|---|---|
committer | David Shea <dshea@redhat.com> | 2014-07-07 10:45:57 -0400 |
commit | eef3e13af5c0e6fcfea055e7162e4e11b0ba3365 (patch) | |
tree | 2fabe952d2ee53586a67ad87be3ea9326a2f52ac | |
parent | 2a45373090e129807c45c4b7d9eb35a4ea94f117 (diff) | |
download | pylint-eef3e13af5c0e6fcfea055e7162e4e11b0ba3365.tar.gz |
Correct the use of root()
-rw-r--r-- | checkers/typecheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/typecheck.py b/checkers/typecheck.py index f0c8034..d3a1aae 100644 --- a/checkers/typecheck.py +++ b/checkers/typecheck.py @@ -558,7 +558,7 @@ accessed. Python regular expressions are accepted.'} if not getitem.parent: return - if getitem.root() != BUILTINS: + if getitem.root().name != BUILTINS: return if getitem.parent.name not in sequence_types: |