projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fd45f
)
patman: Flush output when there is no newline
author
Simon Glass
<sjg@chromium.org>
Sun, 18 Sep 2016 22:48:30 +0000
(16:48 -0600)
committer
sjg
<sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000
(09:30 -0600)
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>
tools/patman/terminal.py
patch
|
blob
|
history
diff --git
a/tools/patman/terminal.py
b/tools/patman/terminal.py
index
e78a7c1
..
af3593e
100644
(file)
--- 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"""