diff options
author | Brett Cannon <brett@python.org> | 2014-08-29 14:24:30 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-08-29 14:24:30 -0400 |
commit | 8f3506b375a193856f7dd857f582f6f3b9c5580c (patch) | |
tree | 421c672fbc23e47f4fdc8c4b8dfb7154a9765dad /checkers/variables.py | |
parent | fea908c8e20aa3eac1bcaad18fecd4c68cfc9b05 (diff) | |
download | pylint-8f3506b375a193856f7dd857f582f6f3b9c5580c.tar.gz |
Change basestring to six.string_types
Diffstat (limited to 'checkers/variables.py')
-rw-r--r-- | checkers/variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/variables.py b/checkers/variables.py index bcb5bb2..6a26f5a 100644 --- a/checkers/variables.py +++ b/checkers/variables.py @@ -321,7 +321,7 @@ builtins. Remember that you should avoid to define new builtins when possible.' continue if not isinstance(elt_name, astroid.Const) \ - or not isinstance(elt_name.value, basestring): + or not isinstance(elt_name.value, six.string_types): self.add_message('invalid-all-object', args=elt.as_string(), node=elt) continue |