Index: build/android/adb_reverse_forwarder.py |
diff --git a/build/android/adb_reverse_forwarder.py b/build/android/adb_reverse_forwarder.py |
index 64718f575dd4b2921e2a1934fe0f24902a3048c0..0ebe56d094145f74fd53a5e3aa4a0164acf04cf7 100755 |
--- a/build/android/adb_reverse_forwarder.py |
+++ b/build/android/adb_reverse_forwarder.py |
@@ -55,9 +55,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: |