Remove new line from output log in python client. (#2244)

There was an unnecessary new line character in the python debugger client.

JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
This commit is contained in:
imiklos 2018-03-21 10:37:13 +01:00 committed by yichoi
parent 66d0f53bbb
commit 6e9a94bf1a

View File

@ -1238,6 +1238,7 @@ def main():
# Subtypes of output
if buffer_type == JERRY_DEBUGGER_OUTPUT_RESULT_END:
message = message.rstrip('\n')
if subtype in [JERRY_DEBUGGER_OUTPUT_OK,
JERRY_DEBUGGER_OUTPUT_DEBUG]:
print("%sout: %s%s" % (debugger.blue, debugger.nocolor, message))