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 | 95f77353eb700d6643d6db4049eafdf97a1f6446 (patch) | |
tree | d23657f0dedecfcfdf4b4d5ae01d53d43a420816 | |
parent | 50b3edcd6451e7ab351a395f6fef03b099e9f2bf (diff) | |
download | paste-git-95f77353eb700d6643d6db4049eafdf97a1f6446.tar.gz |
Port paste.debug.debugapp to Python 3
-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] |