Show More
@@ -9,8 +9,10 b'' | |||||
9 | # http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side |
|
9 | # http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side | |
10 |
|
10 | |||
11 | import os, sys |
|
11 | import os, sys | |
|
12 | from mercurial import util | |||
12 |
|
13 | |||
13 | def launch(application): |
|
14 | def launch(application): | |
|
15 | util.set_binary(sys.stdout) | |||
14 |
|
16 | |||
15 | environ = dict(os.environ.items()) |
|
17 | environ = dict(os.environ.items()) | |
16 | environ['wsgi.input'] = sys.stdin |
|
18 | environ['wsgi.input'] = sys.stdin |
General Comments 0
You need to be logged in to leave comments.
Login now