[issue1634] Access to sys.stdin in ui.py causes IOError in a WSGI environment
Brendan Cully
brendan at kublai.com
Sun Apr 26 15:36:52 CDT 2009
On Sunday, 26 April 2009 at 14:26, Benjamin Wohlwend wrote:
>
> New submission from Benjamin Wohlwend <bw at piquadrat.ch>:
>
> mercurial.ui.isatty() accesses sys.stdin, which makes mod_wsgi throw an IOError.
> Other WSGI implementations might also have issues with this.
>
> Attached is a patch that catches the IOError.
Pushed as c8cb471fc9c2, thanks.
More information about the Mercurial-devel
mailing list