Index: build/android/adb_reverse_forwarder.py |
diff --git a/build/android/adb_reverse_forwarder.py b/build/android/adb_reverse_forwarder.py |
index 0ebe56d094145f74fd53a5e3aa4a0164acf04cf7..64718f575dd4b2921e2a1934fe0f24902a3048c0 100755 |
--- a/build/android/adb_reverse_forwarder.py |
+++ b/build/android/adb_reverse_forwarder.py |
@@ -55,11 +55,9 @@ def main(argv): |
parser.error('Bad port number') |
sys.exit(1) |
- if options.blacklist_file: |
- blacklist = device_blacklist.Blacklist(options.blacklist_file) |
- else: |
- blacklist = None |
- |
+ blacklist = (device_blacklist.Blacklist(options.blacklist_file) |
+ if options.blacklist_file |
+ else None) |
devices = device_utils.DeviceUtils.HealthyDevices(blacklist) |
if options.device: |