--- a/mercurial/hgweb.py Tue Aug 30 16:33:04 2005 +0200
+++ b/mercurial/hgweb.py Tue Aug 30 16:36:29 2005 +0200
@@ -908,7 +908,7 @@
accept = accept + line[7:].split(',')
env['HTTP_ACCEPT'] = ','.join(accept)
- save = sys.argv, sys.stdin, sys.stdout, sys.stderr
+ save = sys.argv, sys.stderr
try:
req = hgrequest(self.rfile, self.wfile, env)
sys.argv = ["hgweb.py"]
@@ -917,7 +917,7 @@
self.send_response(200, "Script output follows")
hg.run(req)
finally:
- sys.argv, sys.stdin, sys.stdout, sys.stderr = save
+ sys.argv, sys.stderr = save
hg = hgweb(repo)
if use_ipv6: