mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Remove direct calls to print and cleanup imports
All display of information should go through display instead of through print.
This commit is contained in:
parent
a0f27d552c
commit
6a3893c518
4 changed files with 12 additions and 13 deletions
|
@ -76,7 +76,7 @@ class CallbackModule(CallbackBase):
|
|||
'stats': summary
|
||||
}
|
||||
|
||||
print(json.dumps(output, indent=4, sort_keys=True))
|
||||
self._display.display(json.dumps(output, indent=4, sort_keys=True))
|
||||
|
||||
v2_runner_on_failed = v2_runner_on_ok
|
||||
v2_runner_on_unreachable = v2_runner_on_ok
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue