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:
parent
eae3e7cdef
commit
c4287b9d81
3 changed files with 11 additions and 9 deletions
3
redo.py
3
redo.py
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue