Index: build/android/adb_reverse_forwarder.py |
diff --git a/build/android/adb_reverse_forwarder.py b/build/android/adb_reverse_forwarder.py |
index d85a8aa144b1adfe71681fc6c7fbb817f34907d9..44b1b971464af4c43d8c07641a4ae1ea0e4f63d8 100755 |
--- a/build/android/adb_reverse_forwarder.py |
+++ b/build/android/adb_reverse_forwarder.py |
@@ -56,9 +56,11 @@ |
parser.error('Bad port number') |
sys.exit(1) |
- blacklist = (device_blacklist.Blacklist(options.blacklist_file) |
- if options.blacklist_file |
- else None) |
+ if options.blacklist_file: |
+ blacklist = device_blacklist.Blacklist(options.blacklist_file) |
+ else: |
+ blacklist = None |
+ |
devices = device_utils.DeviceUtils.HealthyDevices(blacklist) |
if options.device: |