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

Unified Diff: gclient_utils.py

Issue 10103024: Check binary existence in gclient: 2nd try. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 8 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
Index: gclient_utils.py
===================================================================
--- gclient_utils.py (revision 132543)
+++ gclient_utils.py (working copy)
@@ -349,7 +349,7 @@
stderr is always redirected to stdout.
"""
- assert print_stdout or filter_fn
+ assert (print_stdout is not None) or filter_fn
stdout = stdout or sys.stdout
filter_fn = filter_fn or (lambda x: None)
kid = subprocess2.Popen(

Powered by Google App Engine
This is Rietveld 408576698