Improve 'redo -v' output whitespace.

It was too hard to tell when an ifchange ended and the commands from the
prior level started running again.  Now it's a little better.
This commit is contained in:
Avery Pennarun 2010-11-18 23:06:38 -08:00
commit c4287b9d81
3 changed files with 11 additions and 9 deletions

View file

@ -131,6 +131,7 @@ def _build(t):
]
if vars.VERBOSE:
argv[1] += 'v'
log_('\n')
log('%s\n' % relpath(t, vars.STARTDIR))
rv = subprocess.call(argv, preexec_fn=lambda: _preexec(t),
stdout=f.fileno())
@ -150,6 +151,8 @@ def _build(t):
f.close()
if rv != 0:
raise BuildError('%s: exit code %d' % (t,rv))
if vars.VERBOSE:
log('%s (done)\n\n' % relpath(t, vars.STARTDIR))
def build(t):