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:
Toshio Kuratomi 2016-11-07 13:36:39 -08:00 committed by Brian Coca
parent a0f27d552c
commit 6a3893c518
4 changed files with 12 additions and 13 deletions

View file

@ -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