Mercurial > hg
view hgext/__init__.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 | 155e3308289c |
children | 2372284d9457 |
line wrap: on
line source
from __future__ import absolute_import import pkgutil __path__ = pkgutil.extend_path(__path__, __name__)