changeset 4076 | 5a89c61c189c |
parent 3673 | eb0b4a2d70a9 |
child 4484 | 7605da1c3b5c |
--- a/mercurial/hgweb/wsgicgi.py Fri Feb 09 20:50:41 2007 +0300 +++ b/mercurial/hgweb/wsgicgi.py Tue Feb 13 06:50:00 2007 -0200 @@ -9,8 +9,10 @@ # http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side import os, sys +from mercurial import util def launch(application): + util.set_binary(sys.stdout) environ = dict(os.environ.items()) environ['wsgi.input'] = sys.stdin