Skip to content

Commit

Permalink
Convert all S3 endpoint representations to unicode
Browse files Browse the repository at this point in the history
To fix `tox -e v0.9-oldest` builds, as *old* boto versions used a str
representation, and this would overwrite the unicode in the in-WAL-E
endpoint dictionary, and new versions use unicode (that WAL-E also
adapted).
  • Loading branch information
Daniel Farina committed Nov 19, 2015
1 parent a09b577 commit 6230158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wal_e/blobstore/s3/calling_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Override the hard-coded region map with boto's mappings if
# available.
from boto.s3 import regions
_S3_REGIONS.update(dict((r.name, r.endpoint) for r in regions()))
_S3_REGIONS.update(dict((r.name, unicode(r.endpoint)) for r in regions()))
except ImportError:
pass

Expand Down

0 comments on commit 6230158

Please sign in to comment.