Commit 8b4919ed29f51075e85a7358db75b66a226d5b1e

Authored by Simon Glass
Committed by sjg
1 parent f5fd45ff64

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 <sjg@chromium.org>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

tools/patman/terminal.py
... ... @@ -55,6 +55,8 @@
55 55 print text,
56 56 if newline:
57 57 print
  58 + else:
  59 + sys.stdout.flush()
58 60  
59 61 def SetPrintTestMode():
60 62 """Go into test mode, where all printing is recorded"""