Show More
@@ -480,7 +480,7 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