Mercurial > hg
changeset 1163:dacd3463ee3f
Don't need to save sys.stdin and sys.stdout anymore
author | Vincent Wagelaar <vincent@ricardis.tudelft.nl> |
---|---|
date | Tue, 30 Aug 2005 16:36:29 +0200 |
parents | 91db1c90b20d |
children | cf8185cf2a70 fe3eb1628c40 |
files | mercurial/hgweb.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: