##// END OF EJS Templates
ui: swallow EBADF on stderr...
Kevin Bullock -
r16367:c14898df stable
parent child Browse files
Show More
@@ -480,7 +480,7 b' class ui(object):'
480 if not getattr(self.ferr, 'closed', False):
480 if not getattr(self.ferr, 'closed', False):
481 self.ferr.flush()
481 self.ferr.flush()
482 except IOError, inst:
482 except IOError, inst:
483 if inst.errno not in (errno.EPIPE, errno.EIO):
483 if inst.errno not in (errno.EPIPE, errno.EIO, errno.EBADF):
484 raise
484 raise
485
485
486 def flush(self):
486 def flush(self):
General Comments 0
You need to be logged in to leave comments. Login now