mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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>
This commit is contained in:
@@ -55,6 +55,8 @@ def Print(text='', newline=True, colour=None):
|
|||||||
print text,
|
print text,
|
||||||
if newline:
|
if newline:
|
||||||
print
|
print
|
||||||
|
else:
|
||||||
|
sys.stdout.flush()
|
||||||
|
|
||||||
def SetPrintTestMode():
|
def SetPrintTestMode():
|
||||||
"""Go into test mode, where all printing is recorded"""
|
"""Go into test mode, where all printing is recorded"""
|
||||||
|
Reference in New Issue
Block a user