mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Force a flush of the file object prior to closing it when running tasks
This commit is contained in:
parent
1656a49623
commit
dfb2200d8d
@ -404,6 +404,7 @@ class BaseTask(Task):
|
||||
except OSError:
|
||||
pass
|
||||
try:
|
||||
stdout_handle.flush()
|
||||
stdout_handle.close()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user