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

Unified Diff: gclient.py

Issue 3596006: Workaround to disable Progress() on buildbot by disabling it on --verbose. (Closed)
Patch Set: Created 10 years, 2 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.py
diff --git a/gclient.py b/gclient.py
index cd269cb669af46cf60a8f91fcae19764cd289288..9cf30c76cb6fb4bb659f71f153549452bca6433e 100644
--- a/gclient.py
+++ b/gclient.py
@@ -716,7 +716,8 @@ solutions = [
revision_overrides = self._EnforceRevisions()
pm = None
# Disable progress for non-tty stdout.
- if command in ('update', 'revert') and sys.stdout.isatty():
+ if (command in ('update', 'revert') and sys.stdout.isatty() and not
+ self._options.verbose):
pm = Progress('Syncing projects', 1)
work_queue = gclient_utils.ExecutionQueue(self._options.jobs, pm)
for s in self.dependencies:
« 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