mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-20 19:49:06 +00:00
Don't call str() on bytes.
This commit is contained in:
parent
2916984114
commit
2d81ddc297
@ -92,7 +92,7 @@ def format_http_success(resp):
|
||||
|
||||
def format_http_error(msg, resp):
|
||||
return quote_output(
|
||||
"%s: %s %s\n%s" % (msg, resp.status, resp.reason,
|
||||
"%s: %s %s\n%r" % (msg, resp.status, resp.reason,
|
||||
resp.read()),
|
||||
quotemarks=False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user