diff options
Diffstat (limited to 'build/android/adb_reverse_forwarder.py')
-rwxr-xr-x | build/android/adb_reverse_forwarder.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/android/adb_reverse_forwarder.py b/build/android/adb_reverse_forwarder.py index d85a8aa..44b1b97 100755 --- a/build/android/adb_reverse_forwarder.py +++ b/build/android/adb_reverse_forwarder.py @@ -56,9 +56,11 @@ def main(argv): 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: |