From e6412efdf58ec61f0811f08a3e7dcc1c83f81cf0 Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Wed, 20 Jan 2021 09:23:14 -0800 Subject: [PATCH] Extra fix ray client newline (#13577) --- python/ray/util/client/logsclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/util/client/logsclient.py b/python/ray/util/client/logsclient.py index a09019039..0e4d02846 100644 --- a/python/ray/util/client/logsclient.py +++ b/python/ray/util/client/logsclient.py @@ -69,7 +69,7 @@ class LogstreamClient: msg: The content of the message """ print_file = sys.stderr if level == -2 else sys.stdout - print(msg, file=print_file) + print(msg, file=print_file, end="") def set_logstream_level(self, level: int): logger.setLevel(level)