Merge pull request #262 from stevekuznetsov/skuznets/force-flush

Flush output buffers
This commit is contained in:
Devan Goodwin 2017-01-26 08:47:36 -04:00 committed by GitHub
commit b277962316

View file

@ -226,6 +226,8 @@ def _out(msgs, prefix, color_func, stream=sys.stdout):
else:
print(color_func(fmt % {'prefix': prefix, 'msg': msgs}), file=stream)
stream.flush()
def error_out(error_msgs, die=True):
"""