Index: lib/cros_build_lib.py |
diff --git a/lib/cros_build_lib.py b/lib/cros_build_lib.py |
index b45733eedaa2349eb35d0985e436ff64fe9bd972..2e6876060c1dce08b93bfa630402f598e7ba548d 100644 |
--- a/lib/cros_build_lib.py |
+++ b/lib/cros_build_lib.py |
@@ -177,6 +177,7 @@ def Die(message): |
""" |
print >> sys.stderr, ( |
Color(_STDOUT_IS_TTY).Color(Color.RED, '\nERROR: ' + message)) |
+ sys.stderr.flush() |
sys.exit(1) |
@@ -188,6 +189,7 @@ def Warning(message): |
""" |
print >> sys.stderr, ( |
Color(_STDOUT_IS_TTY).Color(Color.YELLOW, '\nWARNING: ' + message)) |
+ sys.stderr.flush() |
def Info(message): |
@@ -198,6 +200,7 @@ def Info(message): |
""" |
print >> sys.stderr, ( |
Color(_STDOUT_IS_TTY).Color(Color.BLUE, '\nINFO: ' + message)) |
+ sys.stderr.flush() |
def FindRepoDir(path=None): |