1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

samba_kcc: kcc.debug module defers to samba.colour

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall
2018-01-03 09:20:09 +13:00
committed by Karolin Seeger
parent a46c4a39c4
commit e579d5bd48
2 changed files with 11 additions and 16 deletions

View File

@ -39,6 +39,9 @@ def _gen_ansi_colours():
_gen_ansi_colours()
# kcc.debug uses these aliases (which make visual sense)
PURPLE = DARK_MAGENTA
GREY = DARK_WHITE
def xterm_256_colour(n, bg=False, bold=False):
weight = '01;' if bold else ''