diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-12-20 18:28:34 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-12-20 18:28:34 +0200 |
commit | fd440e1f8770472458d0d95edc2b9a8b8d530686 (patch) | |
tree | 02ac24c9501899f2015d9b34e72f9950c5bd734e /emrun | |
parent | 3bfe074325571b70fc00d8ef3702a80d19f85a97 (diff) |
Remove unneeded newline append in emrun when logging to file.
Diffstat (limited to 'emrun')
-rwxr-xr-x | emrun | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -129,8 +129,6 @@ def format_eol(msg): # Prints a message to the browser stdout output stream. def browser_logi(msg): global browser_stdout_handle - if browser_stdout_handle != sys.stdout and not msg.endswith('\n'): - msg += '\n' msg = format_eol(msg) print >> browser_stdout_handle, msg browser_stdout_handle.flush() @@ -139,8 +137,6 @@ def browser_logi(msg): # Prints a message to the browser stderr output stream. def browser_loge(msg): global browser_stderr_handle - if browser_stderr_handle != sys.stderr and not msg.endswith('\n'): - msg += '\n' msg = format_eol(msg) print >> browser_stderr_handle, msg browser_stderr_handle.flush() |