commit | 97dfde41a471b6faeb363383127a183502c9e4a7 | [log] [tgz] |
---|---|---|
author | Ievgeniia Zadorozhna <izadorozhna@mirantis.com> | Fri Jun 17 20:05:09 2022 +0300 |
committer | Ievgeniia Zadorozhna <izadorozhna@mirantis.com> | Fri Jul 08 20:17:01 2022 +0300 |
tree | aa80c43192cbf1db079801cbdba4eaf3eb1fd956 | |
parent | fa13ba685b64dd7d0371b385c16890cf7caacea7 [diff] [blame] |
Replaced the print() outputs to the sys.stdout.write() Change-Id: Ib6dad45ba72383e19a616ca5ed601fb38f0701ce
diff --git a/utils/helpers.py b/utils/helpers.py index 800a9fe..add9e87 100644 --- a/utils/helpers.py +++ b/utils/helpers.py
@@ -1,3 +1,5 @@ +import sys + import texttable as tt @@ -21,4 +23,4 @@ for row in global_results: tab.add_row(row) s = tab.draw() - print(s) + sys.stdout.write(s)