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

Unified Diff: build/android/pylib/constants.py

Issue 18566007: Print adb missing warning to stderr, not stdout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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: build/android/pylib/constants.py
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py
index 519cc973634aac792307fd4082e0ad440e7e8b52..2888232be66ceb87a6baf04f2c08f3a1c3d6e336 100644
--- a/build/android/pylib/constants.py
+++ b/build/android/pylib/constants.py
@@ -93,7 +93,7 @@ def _GetADBPath():
subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull)
return 'adb'
except OSError:
- print 'No adb found in $PATH, fallback to checked in binary.'
+ print >> sys.stderr, 'No adb found in $PATH, fallback to checked in binary.'
return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb')
« 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