| Index: appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py
|
| diff --git a/appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py b/appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py
|
| index b7d23163831e9bf408dd7496c790ed580d2417d5..4e1a165da5db239111518f264cea1747ffb43e6c 100644
|
| --- a/appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py
|
| +++ b/appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py
|
| @@ -755,6 +755,12 @@ class AdbCommandsSafe(object):
|
| # Do not kill adb, it just means the USB host is likely resetting and
|
| # the device is temporarily unavailable. We can't use
|
| # handle.serial_number since this communicates with the device.
|
| + except common.usb1.USBErrorNotFound as e:
|
| + _LOG.warning(
|
| + '%s._OpenHandle(): USBErrorNotFound: %s', self.port_path, e)
|
| + # Do not kill adb, it just means the USB host is likely resetting (?)
|
| + # and the device is temporarily unavailable. We can't use
|
| + # handle.serial_number since this communicates with the device.
|
| except common.usb1.USBErrorBusy as e:
|
| _LOG.warning('%s._OpenHandle(): USBErrorBusy: %s', self.port_path, e)
|
| KillADB()
|
|
|