summaryrefslogtreecommitdiff
path: root/swift/common/middleware/s3api/s3request.py
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2019-03-01 12:13:27 -0800
committerTim Burke <tim.burke@gmail.com>2019-03-01 16:10:53 -0800
commit8b519d1abcb4d7b34c8bbdfe535f472fe105231c (patch)
tree5658225c2032fa095190c3bd7fb9a356932451d8 /swift/common/middleware/s3api/s3request.py
parent96013436a19b1527faa3d501354d6cdd695d9ee0 (diff)
downloadswift-8b519d1abcb4d7b34c8bbdfe535f472fe105231c.tar.gz
Clean up func tests ahead of py3
- ConfigParser.set() requires that the value be a string - The stdlib HTTP client responses don't have a body property - We might raise a ResponseError with response=None - Bodies should be bytes - Headers should be strings - Make containers()/files() return native strings - file() isn't a thing on py3 - format should be a parm, not a header - Switch sorted() to use key instead of cmp - Use integer division explicitly Change-Id: I99d3eebc9d7ec4e8b295352294b831492135c568
Diffstat (limited to 'swift/common/middleware/s3api/s3request.py')
0 files changed, 0 insertions, 0 deletions