summaryrefslogtreecommitdiff
path: root/tools/patman/tout.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patman/tout.py')
-rw-r--r--tools/patman/tout.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/patman/tout.py b/tools/patman/tout.py
index 15acce28cb..ae04c30f1d 100644
--- a/tools/patman/tout.py
+++ b/tools/patman/tout.py
@@ -4,6 +4,8 @@
# Terminal output logging.
#
+from __future__ import print_function
+
import sys
import terminal
@@ -87,7 +89,7 @@ def _Output(level, msg, color=None):
ClearProgress()
if color:
msg = _color.Color(color, msg)
- _stdout.write(msg + '\n')
+ print(msg)
def DoOutput(level, msg):
"""Output a message to the terminal.