mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-24 04:32:46 +00:00
Merge pull request #262 from stevekuznetsov/skuznets/force-flush
Flush output buffers
This commit is contained in:
commit
b277962316
1 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,8 @@ def _out(msgs, prefix, color_func, stream=sys.stdout):
|
||||||
else:
|
else:
|
||||||
print(color_func(fmt % {'prefix': prefix, 'msg': msgs}), file=stream)
|
print(color_func(fmt % {'prefix': prefix, 'msg': msgs}), file=stream)
|
||||||
|
|
||||||
|
stream.flush()
|
||||||
|
|
||||||
|
|
||||||
def error_out(error_msgs, die=True):
|
def error_out(error_msgs, die=True):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue