diff mercurial/statprof.py @ 36637:e8c361316803

py3: silence the final IOError by closing stdout/err slightly early Fixes the following test failure: $ hg status >/dev/full abort: No space left on device Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' ... OSError: [Errno 28] No space left on device [120]
author Yuya Nishihara <yuya@tcha.org>
date Fri, 02 Mar 2018 22:35:20 -0500
parents c8e8e14a5ee9
children aac4be30e250
line wrap: on
line diff