Skip to content

Commit

Permalink
added moa.ui.error
Browse files Browse the repository at this point in the history
  • Loading branch information
mfiers committed Apr 4, 2011
1 parent ac0660f commit 766eaf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/python/moa/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def exitError(message):
fprint("{{red}}{{bold}}Error:{{reset}} %s" % message, f='jinja')
sys.exit(-1)

def error(message):
fprint("{{red}}{{bold}}Error:{{reset}} %s" % message, f='jinja')

def warn(message):
fprint("{{blue}}Warning:{{reset}} %s" % message, f='jinja')

Expand Down

0 comments on commit 766eaf6

Please sign in to comment.