summaryrefslogtreecommitdiff
path: root/paste/debug/debugapp.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-04-22 02:33:32 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-04-22 02:33:32 +0200
commit3026086c19b45382d5ceca778a5458233b485ce9 (patch)
treea58fb49cd65f9b7ff24029aeb4dfaccd657128dd /paste/debug/debugapp.py
parent3e25cb1adbf0dce96f49a270d07028550b15e33c (diff)
parentb9ceb0a57e2c48f95e94693da5f3f4b86fbc3bff (diff)
downloadpaste-3026086c19b45382d5ceca778a5458233b485ce9.tar.gz
Merged in mfrobben/paste (pull request #21)
Fix bad reference to iterator variable
Diffstat (limited to 'paste/debug/debugapp.py')
-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]