equal
deleted
inserted
replaced
914 def _write(self, *msgs, **opts): |
914 def _write(self, *msgs, **opts): |
915 self._progclear() |
915 self._progclear() |
916 # opencode timeblockedsection because this is a critical path |
916 # opencode timeblockedsection because this is a critical path |
917 starttime = util.timer() |
917 starttime = util.timer() |
918 try: |
918 try: |
919 for a in msgs: |
919 self.fout.write(''.join(msgs)) |
920 self.fout.write(a) |
|
921 except IOError as err: |
920 except IOError as err: |
922 raise error.StdioError(err) |
921 raise error.StdioError(err) |
923 finally: |
922 finally: |
924 self._blockedtimes['stdio_blocked'] += \ |
923 self._blockedtimes['stdio_blocked'] += \ |
925 (util.timer() - starttime) * 1000 |
924 (util.timer() - starttime) * 1000 |