cli: flush stdout during watch-logs

Fixes: https://pagure.io/koji/issue/2227
This commit is contained in:
Tomas Kopecek 2020-05-07 14:46:21 +02:00
parent f74da269f4
commit be57b32f42

View file

@ -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):