fix stdout flush

This commit is contained in:
Alexey Avramov 2019-06-07 15:46:52 +09:00
parent 2c9afdc8be
commit 599bf5ba65

2
nohang
View File

@ -1748,7 +1748,7 @@ def sleep_after_check_mem():
if print_sleep_periods:
log('Sleep {} sec'.format(min_sleep))
stdout.flush()
sleep(min_sleep)
return None