summaryrefslogtreecommitdiff
path: root/rtemstoolkit/log.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-09 14:27:42 +1100
committerChris Johns <chrisj@rtems.org>2016-03-09 14:27:42 +1100
commit2de37f3432d67e7cbaa1891769cc5ddb9fb24bc3 (patch)
tree5ecc08ee57a7a7a54f41ee0fa3a2d0efe781f17f /rtemstoolkit/log.py
parenta5d243d3f8e288f153dc9f6ca2e1a052e67e250d (diff)
Python 2 and python 3 refactor fixes.
Updates #2619.
Diffstat (limited to 'rtemstoolkit/log.py')
-rwxr-xr-xrtemstoolkit/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/log.py b/rtemstoolkit/log.py
index 61a3b02..4d89b77 100755
--- a/rtemstoolkit/log.py
+++ b/rtemstoolkit/log.py
@@ -89,7 +89,7 @@ def _output(text = os.linesep, log = None):
def stderr(text = os.linesep, log = None):
lock.acquire()
for l in text.replace(chr(13), '').splitlines():
- print >> sys.stderr, l
+ print(l, file = sys.stderr)
lock.release()
def output(text = os.linesep, log = None):