mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Flush stderr to avoid lost output.
This commit is contained in:
parent
925b0ff9e9
commit
2b0d63b0d8
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ def print_stderr(*args, **kwargs):
|
||||||
"""Print to stderr."""
|
"""Print to stderr."""
|
||||||
|
|
||||||
print(*args, file=sys.stderr, **kwargs)
|
print(*args, file=sys.stderr, **kwargs)
|
||||||
|
sys.stderr.flush()
|
||||||
|
|
||||||
|
|
||||||
def dump_stderr(label, l):
|
def dump_stderr(label, l):
|
||||||
|
|
Loading…
Reference in a new issue