From: Simon Glass Date: Sun, 18 Sep 2016 22:48:30 +0000 (-0600) Subject: patman: Flush output when there is no newline X-Git-Tag: v2016.11-rc2~10^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b4919ed29f51075e85a7358db75b66a226d5b1e;p=platform%2Fkernel%2Fu-boot.git patman: Flush output when there is no newline Output which does not include a newline will not be displayed unless flushed. Add a flush to ensure that it becomes visible. Signed-off-by: Simon Glass --- diff --git a/tools/patman/terminal.py b/tools/patman/terminal.py index e78a7c1..af3593e 100644 --- a/tools/patman/terminal.py +++ b/tools/patman/terminal.py @@ -55,6 +55,8 @@ def Print(text='', newline=True, colour=None): print text, if newline: print + else: + sys.stdout.flush() def SetPrintTestMode(): """Go into test mode, where all printing is recorded"""