diff options
author | Konstantinos Koukopoulos <koukopoulos@gmail.com> | 2014-08-26 17:32:14 +0300 |
---|---|---|
committer | Konstantinos Koukopoulos <koukopoulos@gmail.com> | 2014-08-26 17:34:13 +0300 |
commit | 31fbd86172befcedb5acaebb5486822a8951a3db (patch) | |
tree | b6322bf129661d2c82273818a3c8c69c96bfa58f | |
parent | 45bf3d0683bc3a0b9b87709ee09e39467bf53eb1 (diff) | |
download | boto-31fbd86172befcedb5acaebb5486822a8951a3db.tar.gz |
fix comparison of query value for py3. Refs: #2558
-rw-r--r-- | boto/s3/bucket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boto/s3/bucket.py b/boto/s3/bucket.py index 4aac7526..ec528ec3 100644 --- a/boto/s3/bucket.py +++ b/boto/s3/bucket.py @@ -379,7 +379,7 @@ class Bucket(object): value = six.text_type(value) if not isinstance(value, six.binary_type): value = value.encode('utf-8') - if value != '': + if value != six.binary_type(''): pairs.append(u'%s=%s' % ( urllib.parse.quote(key), urllib.parse.quote(value) |