upload to empty container broken under python 3
Bug #1497331 reported by
Marco M
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
In shell.py, when a warning is received from the server, a concatenation fails:
if error.http_
if msg:
msg += ': '
msg += error.http_
msg = ': %s' % msg
because http_response_
Python 2 - Warning: failed to create container 'foo': 409 Conflict: BucketAlreadyExists
Python 3 - TypeError: Can't convert 'bytes' object to str implicitly
it seems that this bug has been fixed by someone