summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-04-22 00:46:35 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-04-22 00:46:35 +0200
commit95f77353eb700d6643d6db4049eafdf97a1f6446 (patch)
treed23657f0dedecfcfdf4b4d5ae01d53d43a420816
parent50b3edcd6451e7ab351a395f6fef03b099e9f2bf (diff)
downloadpaste-git-95f77353eb700d6643d6db4049eafdf97a1f6446.tar.gz
Port paste.debug.debugapp to Python 3
-rwxr-xr-xpaste/debug/debugapp.py2
1 files changed, 1 insertions, 1 deletions
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 = "<html><body>simple</body></html>"
+ body = b"<html><body>simple</body></html>"
start_response("200 OK", [('Content-Type', 'text/html'),
('Content-Length', str(len(body)))])
return [body]