validate:launcher: Flush stdout each time we print

So everything gets printed on time on windows and jenkins
This commit is contained in:
Thibault Saunier 2014-03-31 13:54:27 +02:00
parent 36a0f6a674
commit 78f91ae8da

View file

@ -119,7 +119,8 @@ def printc(message, color="", title=False):
if hasattr(message, "result") and color == '':
color = get_color_for_result(message.result)
print color + str(message) + Colors.ENDC
sys.stdout.write(color + str(message) + Colors.ENDC + "\n")
sys.stdout.flush()
def launch_command(command, color=None):