summaryrefslogtreecommitdiff
path: root/paste
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
commit35da0967296380103451b09e4a42c0726950d6b8 (patch)
treed23657f0dedecfcfdf4b4d5ae01d53d43a420816 /paste
parentdc4f02614e463c37c8df1bbc93de6b61b2cd1649 (diff)
downloadpaste-35da0967296380103451b09e4a42c0726950d6b8.tar.gz
Port paste.debug.debugapp to Python 3
Diffstat (limited to 'paste')
-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]