Commit 8b4919ed authored by Simon Glass's avatar Simon Glass Committed by sjg

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: default avatarSimon Glass <sjg@chromium.org>
parent f5fd45ff
......@@ -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"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment