Print adb missing warning to stderr, not stdout
R=bulach Review URL: https://chromiumcodereview.appspot.com/18566007 git-svn-id: http://src.chromium.org/svn/trunk/src/build@210563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
19333597df
Коммит
e94f646c94
|
@ -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')
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче