summaryrefslogtreecommitdiff
path: root/checkers/variables.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-08-29 14:24:30 -0400
committerBrett Cannon <brett@python.org>2014-08-29 14:24:30 -0400
commit8f3506b375a193856f7dd857f582f6f3b9c5580c (patch)
tree421c672fbc23e47f4fdc8c4b8dfb7154a9765dad /checkers/variables.py
parentfea908c8e20aa3eac1bcaad18fecd4c68cfc9b05 (diff)
downloadpylint-8f3506b375a193856f7dd857f582f6f3b9c5580c.tar.gz
Change basestring to six.string_types
Diffstat (limited to 'checkers/variables.py')
-rw-r--r--checkers/variables.py2
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