From 95f77353eb700d6643d6db4049eafdf97a1f6446 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 22 Apr 2015 00:46:35 +0200 Subject: Port paste.debug.debugapp to Python 3 --- paste/debug/debugapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paste/debug/debugapp.py b/paste/debug/debugapp.py index 8c7c7c2..f752c36 100755 --- a/paste/debug/debugapp.py +++ b/paste/debug/debugapp.py @@ -17,7 +17,7 @@ class SimpleApplication(object): Produces a simple web page """ def __call__(self, environ, start_response): - body = "simple" + body = b"simple" start_response("200 OK", [('Content-Type', 'text/html'), ('Content-Length', str(len(body)))]) return [body] -- cgit v1.2.1