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

Unified Diff: bin/command_wrapper.py

Issue 10358004: Write retry text to stderr so stdout is clean for real output from gsutil. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/
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
« 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: bin/command_wrapper.py
===================================================================
--- bin/command_wrapper.py (revision 135069)
+++ bin/command_wrapper.py (working copy)
@@ -149,9 +149,9 @@
return p.returncode
if p.returncode == 0:
return 0
- print 'Command %s failed with retcode %d, try %d.' % (
+ print >> sys.stderr, 'Command %s failed with retcode %d, try %d.' % (
' '.join(args), p.returncode, r + 1)
- print 'Command %s failed %d retries, giving up.' % (
+ print >> sys.stderr, 'Command %s failed %d retries, giving up.' % (
' '.join(args), options.retries)
return p.returncode
« 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