now using ‘emph’ in reporting function instead of code doubling.

This commit is contained in:
Philip Eisenlohr 2015-10-07 01:07:56 +00:00
parent 801d57af4c
commit 3b0dc374bb
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def croak(what,
# ----------------------------- # -----------------------------
def report(who,what): def report(who,what):
# ----------------------------- # -----------------------------
croak( ('\033[1m'+str(who)+'\033[0m' if who else '') + (': '+what if what else '') ) croak( (emph(who) if who else '') + (': '+what if what else '') )
# ----------------------------- # -----------------------------
def emph(what): def emph(what):