From: Ben Darnell Date: Fri, 25 Feb 2011 00:46:42 +0000 (-0800) Subject: _request_summary should return a string, not bytes X-Git-Tag: v2.0.0~85^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4e02ccd568fe28fc55b767b92342a7d0910b4f;p=thirdparty%2Ftornado.git _request_summary should return a string, not bytes --- diff --git a/tornado/web.py b/tornado/web.py index 0b2b8e5ff..36a860e5c 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -889,8 +889,8 @@ class RequestHandler(object): self.application.log_request(self) def _request_summary(self): - return utf8(self.request.method) + b(" ") + utf8(self.request.uri) + \ - b(" (") + utf8(self.request.remote_ip) + b(")") + return self.request.method + " " + self.request.uri + \ + " (" + self.request.remote_ip + ")" def _handle_request_exception(self, e): if isinstance(e, HTTPError):