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

Unified Diff: gclient_utils.py

Issue 250803012: Add more flushes to gclient_utils (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 8 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: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index d082fb7e706c7e808e7de9d0a519a8c5df9a58d7..1777cfd73bfb4b767a1d411e4902549b18bfaa2d 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -824,10 +824,13 @@ class ExecutionQueue(object):
self.last_subproc_output > self.last_join):
if self.progress:
print >> sys.stdout, ''
+ sys.stdout.flush()
elapsed = Elapsed()
print >> sys.stdout, '[%s] Still working on:' % elapsed
+ sys.stdout.flush()
for task in self.running:
print >> sys.stdout, '[%s] %s' % (elapsed, task.item.name)
+ sys.stdout.flush()
except KeyboardInterrupt:
# Help debugging by printing some information:
print >> sys.stderr, (
« 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