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:
parent
5417d0165a
commit
b9b1d18c3f
1 changed files with 2 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue