aboutsummaryrefslogtreecommitdiff
path: root/emrun
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-12-20 18:28:34 +0200
committerJukka Jylänki <jujjyl@gmail.com>2013-12-20 18:28:34 +0200
commitfd440e1f8770472458d0d95edc2b9a8b8d530686 (patch)
tree02ac24c9501899f2015d9b34e72f9950c5bd734e /emrun
parent3bfe074325571b70fc00d8ef3702a80d19f85a97 (diff)
Remove unneeded newline append in emrun when logging to file.
Diffstat (limited to 'emrun')
-rwxr-xr-xemrun4
1 files changed, 0 insertions, 4 deletions
diff --git a/emrun b/emrun
index 57fe85da..86b67b26 100755
--- a/emrun
+++ b/emrun
@@ -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()