log: print a newline before each log() if VERBOSE is set.

This gives relatively nice separation of subsections, I think.
This commit is contained in:
Avery Pennarun 2010-11-13 01:28:31 -08:00
commit b9b1d18c3f

View file

@ -47,8 +47,10 @@ def _log(s):
def _clog(s):
if vars.VERBOSE: _log('\n')
_log('\x1b[32mredo: %s\x1b[1m%s\x1b[m' % (vars.DEPTH, s))
def _bwlog(s):
if vars.VERBOSE: _log('\n')
_log('redo: %s%s' % (vars.DEPTH, s))
def _cerr(s):