Index: build/android/adb_reverse_forwarder.py |
diff --git a/build/android/adb_reverse_forwarder.py b/build/android/adb_reverse_forwarder.py |
index 44b1b971464af4c43d8c07641a4ae1ea0e4f63d8..0ebe56d094145f74fd53a5e3aa4a0164acf04cf7 100755 |
--- a/build/android/adb_reverse_forwarder.py |
+++ b/build/android/adb_reverse_forwarder.py |
@@ -19,7 +19,6 @@ import time |
from devil.android import device_blacklist |
from devil.android import device_errors |
from devil.android import device_utils |
-from devil.android.sdk import adb_wrapper |
from devil.utils import run_tests_helper |
from pylib import constants |
from pylib import forwarder |
@@ -50,7 +49,7 @@ def main(argv): |
sys.exit(1) |
try: |
- port_pairs = map(int, args[1:]) |
+ port_pairs = [int(a) for a in args[1:]] |
port_pairs = zip(port_pairs[::2], port_pairs[1::2]) |
except ValueError: |
parser.error('Bad port number') |