From 27b6c438c2abbd43de24eafed480c320d65ae4c8 Mon Sep 17 00:00:00 2001 From: Martin Langhoff Date: Fri, 13 Sep 2013 15:58:37 -0400 Subject: [PATCH] zcatfollow: tidy up newlines --- zcatfollow | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zcatfollow b/zcatfollow index c0b9291..aa65790 100755 --- a/zcatfollow +++ b/zcatfollow @@ -71,14 +71,14 @@ while 1: # got to the current tail of it # dump our lookbehind buffer, stop buffering for buf_line in lbbuf: - print buf_line + sys.stdout.write(buf_line) buffering=False # internal gzip API use? # f.decompress.flush() time.sleep(0.1) else: if not buffering: - print line + sys.stdout.write(line) else: if bufferfull: lbbuf.popleft() -- 2.11.4.GIT