cli: flush stdout during watch-logs
Fixes: https://pagure.io/koji/issue/2227
This commit is contained in:
parent
f74da269f4
commit
be57b32f42
1 changed files with 1 additions and 0 deletions
|
|
@ -333,6 +333,7 @@ def bytes_to_stdout(contents):
|
|||
sys.stdout.write(contents)
|
||||
else:
|
||||
sys.stdout.buffer.write(contents)
|
||||
sys.stdout.buffer.flush()
|
||||
|
||||
|
||||
def watch_logs(session, tasklist, opts, poll_interval):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue