From 0707e94377bd01f9ffa739ec5a1441fedb00d9a5 Mon Sep 17 00:00:00 2001 From: Akihiro Yamazaki Date: Mon, 5 Sep 2016 21:36:37 +0900 Subject: [PATCH] make sure to same output on python 2 and 3 --- tornado/httpclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/httpclient.py b/tornado/httpclient.py index 59dcdf659..e4baf4479 100644 --- a/tornado/httpclient.py +++ b/tornado/httpclient.py @@ -110,7 +110,7 @@ class AsyncHTTPClient(Configurable): def handle_response(response): if response.error: - print("Error:", response.error) + print("Error: %s" % response.error) else: print(response.body) -- 2.47.2