Added stdout flushing to build.py

This commit is contained in:
rxi 2020-05-06 19:34:18 +01:00
parent 73996e3dc9
commit 201c8ffe9f

View file

@ -37,6 +37,7 @@ log_lock = threading.Lock()
def log(msg, mode=Hint): def log(msg, mode=Hint):
log_lock.acquire() log_lock.acquire()
print log_prefix[mode], msg print log_prefix[mode], msg
sys.stdout.flush()
log_lock.release() log_lock.release()