Activity log for bug #1497331

Date Who What changed Old value New value Message
2015-09-18 15:27:55 Marco M bug added bug
2015-09-18 15:29:10 Marco M description In shell.py, when a warning is received from the server, a concatenation fails: if error.http_response_content: if msg: msg += ': ' msg += error.http_response_content[:60] msg = ': %s' % msg because http_response_content is of type bytes. Python 2 - Warning: failed to create container 'foo': 409 Conflict: BucketAlreadyExists Python 3 - TypeError: Can't convert 'bytes' object to str implicitly In shell.py, when a warning is received from the server, a concatenation fails: if error.http_response_content:      if msg:          msg += ': '         msg += error.http_response_content[:60]     msg = ': %s' % msg because http_response_content is of type bytes. Python 2 - Warning: failed to create container 'foo': 409 Conflict: BucketAlreadyExists Python 3 - TypeError: Can't convert 'bytes' object to str implicitly