X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fbuild%2Fandroid%2Fpylib%2Fandroid_commands.py;h=0a27aea9f0a6cf3f1a61f6d3f4f195759793f5d5;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=e47dd22e0a25994ce75648e8216485eeddd35334;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/build/android/pylib/android_commands.py b/src/build/android/pylib/android_commands.py index e47dd22..0a27aea 100644 --- a/src/build/android/pylib/android_commands.py +++ b/src/build/android/pylib/android_commands.py @@ -643,6 +643,9 @@ class AndroidCommands(object): if "'" in command: logging.warning(command + " contains ' quotes") result = self._adb.SendShellCommand( "'%s'" % command, timeout_time).splitlines() + # TODO(b.kelemen): we should really be able to drop the stderr of the + # command or raise an exception based on what the caller wants. + result = [ l for l in result if not l.startswith('WARNING') ] if ['error: device not found'] == result: raise errors.DeviceUnresponsiveError('device not found') if log_result: