| Index: common/battor/battor/battor_wrapper.py
|
| diff --git a/common/battor/battor/battor_wrapper.py b/common/battor/battor/battor_wrapper.py
|
| index 82b282aed28985e46b806653adc7d42231f2c5d2..1c3434c8d5a9453f4f0be8b719dbb00378a8eb7b 100644
|
| --- a/common/battor/battor/battor_wrapper.py
|
| +++ b/common/battor/battor/battor_wrapper.py
|
| @@ -51,11 +51,8 @@ def _IsBattOrConnected(test_platform, android_device=None,
|
| if not android_device_map:
|
| device_tree = find_usb_devices.GetBusNumberToDeviceTreeMap()
|
| if device_tree:
|
| - logging.warning('Device tree:')
|
| for _, node in sorted(device_tree.iteritems()):
|
| node.Display()
|
| - else:
|
| - logging.warning('Empty device tree.')
|
| if len(battor_device_mapping.GetBattOrList(device_tree)) == 1:
|
| return True
|
| if android_device_file:
|
| @@ -64,7 +61,6 @@ def _IsBattOrConnected(test_platform, android_device=None,
|
| else:
|
| try:
|
| android_device_map = battor_device_mapping.GenerateSerialMap()
|
| - logging.warning('Android device map: %s', android_device_map)
|
| except battor_error.BattOrError:
|
| logging.exception('Error generating serial map')
|
| return False
|
|
|