diminuer l'indentation pour les fonctions e*

This commit is contained in:
Jephté Clain 2015-07-17 11:40:12 +04:00
parent d4ac5f7b10
commit 3ee6cb4d7c
2 changed files with 4 additions and 4 deletions

View File

@ -220,7 +220,7 @@ def eecho(msg, flush=None): eprint(msg, V_INFO, True, flush, ERR)
def eecho_(msg, flush=None): eprint(msg, V_INFO, False, flush, ERR) def eecho_(msg, flush=None): eprint(msg, V_INFO, False, flush, ERR)
def edebug(msg, flush=None): eprint((('D ', 'w,@'), msg), V_DEBUG, True, flush, ERR) def edebug(msg, flush=None): eprint((('D ', 'w,@'), msg), V_DEBUG, True, flush, ERR)
def get_ntlevel(): return len(get_tlevel()) / 4 def get_ntlevel(): return len(get_tlevel()) / 2
def set_ntlevel(l): set_tlevel(l * ' ') def set_ntlevel(l): set_tlevel(l * ' ')
def inc_ntlevel(): def inc_ntlevel():
if get_estack() != '': set_ntlevel(get_ntlevel() + 1) if get_estack() != '': set_ntlevel(get_ntlevel() + 1)