# HG changeset patch # User Alexis S. L. Carvalho # Date 2007-06-04 03:24:48 # Node ID 7605da1c3b5cc2551826821c0c2bc6131a584612 # Parent 769cc8ef5b7237fd388f66860b5429dcbc13673d wsgicgi: change stdin to binary mode diff --git a/mercurial/hgweb/wsgicgi.py b/mercurial/hgweb/wsgicgi.py --- a/mercurial/hgweb/wsgicgi.py +++ b/mercurial/hgweb/wsgicgi.py @@ -12,6 +12,7 @@ import os, sys from mercurial import util def launch(application): + util.set_binary(sys.stdin) util.set_binary(sys.stdout) environ = dict(os.environ.items())