[PATCH] ui: remove superfluous indent in _write()
Yuya Nishihara
yuya at tcha.org
Sat Feb 25 05:58:20 UTC 2017
# HG changeset patch
# User Yuya Nishihara <yuya at 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()
More information about the Mercurial-devel
mailing list