From 58396750ef7639701b3cd2c5c48f7e867ccfd8c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 7 Jun 2014 10:27:04 +0200 Subject: scons2ninja: Don't buffer SCons output Change-Id: I6a2c485a90a988e9560f4c4af0c5d118542cfa44 diff --git a/BuildTools/scons2ninja.py b/BuildTools/scons2ninja.py index 0ca3e42..a39ed32 100755 --- a/BuildTools/scons2ninja.py +++ b/BuildTools/scons2ninja.py @@ -364,7 +364,7 @@ f = subprocess.Popen(scons_generate_cmd, stdout = subprocess.PIPE, stderr = subp stage = 'preamble' skip_nth_line = -1 stack = ['.'] -for line in f.stdout.readlines() : +for line in f.stdout : line = line.rstrip() # Skip lines if requested from previous command -- cgit v0.10.2-6-g49f6