Submitter | Bryan O'Sullivan |
---|---|
Date | April 10, 2017, 6:51 p.m. |
Message ID | <fdac23ea683f6b2b7688.1491850297@bryano-mbp.local> |
Download | mbox | patch |
Permalink | /patch/20093/ |
State | Changes Requested |
Headers | show |
Comments
Patch
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -798,8 +798,7 @@ class ui(object): if not getattr(self.ferr, 'closed', False): self.ferr.flush() except IOError as inst: - if inst.errno not in (errno.EPIPE, errno.EIO, errno.EBADF): - raise + error.raisestdio(inst) def flush(self): # opencode timeblockedsection because this is a critical path