Re: [U-Boot] [PATCH 05/13] patman: Flush output when there is no newline

2016-10-01 Thread Simon Glass
On 18 September 2016 at 16:48, Simon Glass  wrote:
> 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 
> ---
>
>  tools/patman/terminal.py | 2 ++
>  1 file changed, 2 insertions(+)

Applied to u-boot-dm.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 05/13] patman: Flush output when there is no newline

2016-09-18 Thread Simon Glass
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 
---

 tools/patman/terminal.py | 2 ++
 1 file changed, 2 insertions(+)

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"""
-- 
2.8.0.rc3.226.g39d4020

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot