Exemple #1
0
def format_evidence(string, color):
    return colorize("".join(["{bg", color, "}{black}", string, "{/black}{/bg", color, "}"]))
Exemple #2
0
def format_color(string, color):
    return colorize("".join(["{", color, "}", string, "{/", color, "}"]))
Exemple #3
0
def error(string):
    if settings.VERBOSE:
        print(colorize("    ".join(["{hired}[   FAIL   ]{/red}", string])))
Exemple #4
0
def warning(string):
    if settings.VERBOSE:
        print(colorize("    ".join(["{hiyellow}[   WARN   ]{/yellow}", string])))
Exemple #5
0
def success(string):
    if settings.VERBOSE:
        print(colorize("    ".join(["{higreen}[    OK    ]{/green}", string])))