From c65bd7b735bb4916afc79ed4b16ec60d3a9b678b Mon Sep 17 00:00:00 2001 From: Peter Grayson Date: Fri, 24 Apr 2020 13:47:29 -0400 Subject: [PATCH] Add explicit flush to build.py for Python 2 Signed-off-by: Peter Grayson --- build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.py b/build.py index b465a14..f4dabb3 100755 --- a/build.py +++ b/build.py @@ -52,6 +52,9 @@ def main(): else: op.error('No command') + # Python 2 seems to have trouble with sys.stdout not flushing it is not a tty. + sys.stdout.flush() + if __name__ == '__main__': if os.environ.get('COVERAGE_PROCESS_START'): -- 2.11.4.GIT