Commit 6348d0a1 by devttys0

Added stdout.flush to potentially help with cygwin display bugs

parent 4f4122b1
...@@ -102,6 +102,7 @@ class Display(object): ...@@ -102,6 +102,7 @@ class Display(object):
if not filter or self.filter.valid_result(line): if not filter or self.filter.valid_result(line):
if not self.quiet and stdout: if not self.quiet and stdout:
sys.stdout.write(self._format_line(line.strip()) + "\n") sys.stdout.write(self._format_line(line.strip()) + "\n")
sys.stdout.flush()
if self.fp and not (self.csv and not csv): if self.fp and not (self.csv and not csv):
self.log(fmt, columns) self.log(fmt, columns)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment