Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Updated setup.py with the renamed scripts.
[ashd.git]
/
python
/
ashd
/
wsgiutil.py
diff --git
a/python/ashd/wsgiutil.py
b/python/ashd/wsgiutil.py
index
b947407
..
5fe7535
100644
(file)
--- a/
python/ashd/wsgiutil.py
+++ b/
python/ashd/wsgiutil.py
@@
-25,5
+25,6
@@
def simpleerror(env, startreq, code, title, msg):
<p>%s</p>
</body>
</html>""" % (title, title, htmlquote(msg))
+ buf = buf.encode("ascii")
startreq("%i %s" % (code, title), [("Content-Type", "text/html"), ("Content-Length", str(len(buf)))])
return [buf]