Index: build/android/pylib/local/device/local_device_environment.py |
diff --git a/build/android/pylib/local/device/local_device_environment.py b/build/android/pylib/local/device/local_device_environment.py |
index 0d02ca3e2f8eb81e91bfff8543e488a800b9db25..04f9ab7d2fead494c5d90759e30ae90b048fc0e8 100644 |
--- a/build/android/pylib/local/device/local_device_environment.py |
+++ b/build/android/pylib/local/device/local_device_environment.py |
@@ -25,7 +25,7 @@ class LocalDeviceEnvironment(environment.Environment): |
raise device_errors.NoDevicesError |
if self._device_serial: |
self._devices = [d for d in available_devices |
- if d.adb.GetDeviceSerial == self._device_serial] |
+ if d.adb.GetDeviceSerial() == self._device_serial] |
if not self._devices: |
raise device_errors.DeviceUnreachableError( |
'Could not find device %r' % self._device_serial) |