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