From 4dfb86684c139ea995a9ea21dde4bfa04083fdb9 Mon Sep 17 00:00:00 2001 From: "hinoka@google.com" Date: Fri, 25 Apr 2014 22:21:24 +0000 Subject: [PATCH] Add more flushes to gclient_utils BUG= Review URL: https://codereview.chromium.org/250803012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266255 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gclient_utils.py b/gclient_utils.py index d082fb7e70..1777cfd73b 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, (