diff options
author | Lee Ball <43632885+catleeball@users.noreply.github.com> | 2019-03-27 20:36:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 20:36:52 -0700 |
commit | afb038367c911bcbf20b4b9929e09abb48f49150 (patch) | |
tree | ac338e0979516c0c84d6125a3fff97da6053d422 | |
parent | 335ad9e0347df5ceb0e70e01d161690a0412499a (diff) | |
download | boto-afb038367c911bcbf20b4b9929e09abb48f49150.tar.gz |
Forgot the `six.`
-rw-r--r-- | boto/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boto/utils.py b/boto/utils.py index b74ee767..242ad7ec 100644 --- a/boto/utils.py +++ b/boto/utils.py @@ -1109,7 +1109,7 @@ def get_utf8able_str(s, errors='strict'): makes sure that any bytes passed in can be decoded using the utf-8 codec (and raises a UnicodeDecodeError if not). """ - if not isinstance(s, (text_type, binary_type)): + if not isinstance(s, (six.text_type, six.binary_type)): s = str(s) if six.PY2: # We want to return utf-8 encoded bytes. |