Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2279)

Unified Diff: pylib/gyp/win_tool.py

Issue 9959128: ninja windows: simpler link-wrapper code (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pylib/gyp/win_tool.py
diff --git a/pylib/gyp/win_tool.py b/pylib/gyp/win_tool.py
index 331a655957c8dd71091366cf923f7a0b91441535..1e45955177c3bc1deb4c6168c6b3e550f65bb022 100644
--- a/pylib/gyp/win_tool.py
+++ b/pylib/gyp/win_tool.py
@@ -58,8 +58,7 @@ class WinTool(object):
popen = subprocess.Popen(args,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
- out, _ = popen.communicate()
- for line in out.splitlines():
+ for line in popen.stdout:
if not line.startswith(' Creating library '):
sys.stdout.write(line)
return popen.returncode
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698