message: Flush stdout when printing a warning.
diff: @@ -146,3 +146,4 @@ def warn(msg, *args, **kwargs):
  logging.warn(msg, *args, **kwargs)
  if echo_log_to_stdout:
  _output_to_stdout('WARNING: ' + msg, *args, **kwargs)
  + sys.stdout.flush()
  