Expand error handling to ignore all errors printing output

pull/3060/head
Craig Tiller 9 years ago
parent 7d0c3f72de
commit 9f3b2d7f94
  1. 2
      tools/run_tests/jobset.py

@ -96,12 +96,12 @@ def message(tag, msg, explanatory_text=None, do_newline=False):
return
message.old_tag = tag
message.old_msg = msg
try:
if platform.system() == 'Windows' or not sys.stdout.isatty():
if explanatory_text:
print explanatory_text
print '%s: %s' % (tag, msg)
return
try:
sys.stdout.write('%s%s%s\x1b[%d;%dm%s\x1b[0m: %s%s' % (
_BEGINNING_OF_LINE,
_CLEAR_LINE,

Loading…
Cancel
Save