Index: build/android/pylib/forwarder.py |
diff --git a/build/android/pylib/forwarder.py b/build/android/pylib/forwarder.py |
index adf538c731595ed23b606148ea1d33fc832f62aa..0f4b1bc7131295b1f79340878e782e31b9231e52 100644 |
--- a/build/android/pylib/forwarder.py |
+++ b/build/android/pylib/forwarder.py |
@@ -139,7 +139,7 @@ class Forwarder(object): |
port_map = Forwarder._GetInstanceLocked( |
None, None)._device_to_host_port_map |
adb_serial = adb.Adb().GetSerialNumber() |
- for ((device_serial, device_port), _) in port_map: |
+ for (device_serial, device_port) in port_map.keys(): |
if adb_serial == device_serial: |
Forwarder._UnmapDevicePortLocked(device_port, adb) |