| Index: build/android/pylib/android_commands.py
|
| diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
|
| index 1f30e2f046854e349efa5f0c3c38e66a2439ae48..f3a4734f5b65b07dde1e09e07aa42d5cee56628c 100644
|
| --- a/build/android/pylib/android_commands.py
|
| +++ b/build/android/pylib/android_commands.py
|
| @@ -1015,7 +1015,7 @@ class AndroidCommands(object):
|
| return int(status) == 0
|
|
|
| status = self._adb.SendShellCommand('ls "%s"' % (file_name))
|
| - if not status[0].find('No such file or directory'):
|
| + if status[0].find('No such file or directory') == -1:
|
| return True
|
|
|
| return False
|
|
|