Show More
@@ -807,10 +807,15 b' class ui(object):' | |||
|
807 | 807 | # opencode timeblockedsection because this is a critical path |
|
808 | 808 | starttime = util.timer() |
|
809 | 809 | try: |
|
810 |
try: |
|
|
811 | except (IOError, ValueError): pass | |
|
812 | try: self.ferr.flush() | |
|
813 | except (IOError, ValueError): pass | |
|
810 | try: | |
|
811 | self.fout.flush() | |
|
812 | except IOError as err: | |
|
813 | raise error.StdioError(err) | |
|
814 | finally: | |
|
815 | try: | |
|
816 | self.ferr.flush() | |
|
817 | except IOError as err: | |
|
818 | raise error.StdioError(err) | |
|
814 | 819 | finally: |
|
815 | 820 | self._blockedtimes['stdio_blocked'] += \ |
|
816 | 821 | (util.timer() - starttime) * 1000 |
General Comments 0
You need to be logged in to leave comments.
Login now