# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1487999395 -32400 # Sat Feb 25 14:09:55 2017 +0900 # Node ID 18c067150b3c2b55da2a72c2eec55c65de12523e # Parent b4cb86ab4c719eb615a4308eafd8b1386a511eeb ui: remove superfluous indent in _write()
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -810,15 +810,15 @@ class ui(object): self._write(*msgs, **opts) def _write(self, *msgs, **opts): - self._progclear() - # opencode timeblockedsection because this is a critical path - starttime = util.timer() - try: - for a in msgs: - self.fout.write(a) - finally: - self._blockedtimes['stdio_blocked'] += \ - (util.timer() - starttime) * 1000 + self._progclear() + # opencode timeblockedsection because this is a critical path + starttime = util.timer() + try: + for a in msgs: + self.fout.write(a) + finally: + self._blockedtimes['stdio_blocked'] += \ + (util.timer() - starttime) * 1000 def write_err(self, *args, **opts): self._progclear() _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel