Support writes failing

pull/759/head
Craig Tiller 10 years ago
parent 336ad50973
commit 23d2f3f2b1
  1. 3
      tools/run_tests/jobset.py

@ -101,6 +101,7 @@ _TAG_COLOR = {
def message(tag, message, explanatory_text=None, do_newline=False):
try:
sys.stdout.write('%s%s%s\x1b[%d;%dm%s\x1b[0m: %s%s' % (
_BEGINNING_OF_LINE,
_CLEAR_LINE,
@ -111,6 +112,8 @@ def message(tag, message, explanatory_text=None, do_newline=False):
message,
'\n' if do_newline or explanatory_text is not None else ''))
sys.stdout.flush()
except:
pass
def which(filename):

Loading…
Cancel
Save