[Python-checkins] cpython: removed spurious output

Tarek Ziadé ziade.tarek at gmail.com
Mon May 30 19:09:53 CEST 2011


Yes, fixing this thanks

On Mon, May 30, 2011 at 5:54 PM, Terry Reedy <tjreedy at udel.edu> wrote:
>
>
> On 5/30/2011 6:25 AM, tarek.ziade wrote:
>
> Should not old_out be sys.stderr, since that is what you over-write and
> 'restore'?
>
>> +        old_out = sys.stdout
>> +        sys.stderr = StringIO()
>> +        try:
>> +            dist = self.run_setup('install_dist', '--prefix=' +
>> self.root_dir)
>> +        finally:
>> +            sys.sterr = old_out
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Python-checkins mailing list