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

Unified Diff: gclient.py

Issue 113656: Fix the print_error parsing, which caused spurious errors on gcl usage. (Closed)
Patch Set: Created 11 years, 7 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 8eeee6efd20bec4f79bc31f95fbd3ec8dc7c7fed..8646f319d3406631a8d7a13647b7f48c0ac95783 100755
--- a/gclient.py
+++ b/gclient.py
@@ -509,7 +509,7 @@ def CaptureSVN(args, in_directory=None, print_error=True):
# when it's called with a list because it only tries to execute the
# first string ("svn").
stderr = None
- if print_error:
+ if not print_error:
stderr = subprocess.PIPE
return subprocess.Popen(c,
cwd=in_directory,
« 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