diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 00:46:35 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 00:46:35 +0200 |
commit | 35da0967296380103451b09e4a42c0726950d6b8 (patch) | |
tree | d23657f0dedecfcfdf4b4d5ae01d53d43a420816 /paste | |
parent | dc4f02614e463c37c8df1bbc93de6b61b2cd1649 (diff) | |
download | paste-35da0967296380103451b09e4a42c0726950d6b8.tar.gz |
Port paste.debug.debugapp to Python 3
Diffstat (limited to 'paste')
-rwxr-xr-x | paste/debug/debugapp.py | 2 |
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] |