output color is now configurable

This commit is contained in:
Brian Coca 2015-12-29 15:41:00 -05:00
parent 2d11cfab92
commit d3deb24ead
10 changed files with 86 additions and 60 deletions

View file

@ -393,7 +393,7 @@ class TaskExecutor:
result = None
for attempt in range(retries):
if attempt > 0:
display.display("FAILED - RETRYING: %s (%d retries left). Result was: %s" % (self._task, retries-attempt, result), color="dark gray")
display.display("FAILED - RETRYING: %s (%d retries left). Result was: %s" % (self._task, retries-attempt, result), color=C.COLOR_DEBUG)
result['attempts'] = attempt + 1
display.debug("running the handler")