Index: build/android/provision_devices.py |
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py |
index 137937762e142672ef9c1f69e0fbbd2d3dd010d4..0a7f8fd770f8b24a6ca464942a0a9d148229753a 100755 |
--- a/build/android/provision_devices.py |
+++ b/build/android/provision_devices.py |
@@ -53,9 +53,11 @@ |
def ProvisionDevices(args): |
- blacklist = (device_blacklist.Blacklist(args.blacklist_file) |
- if args.blacklist_file |
- else None) |
+ if args.blacklist_file: |
+ blacklist = device_blacklist.Blacklist(args.blacklist_file) |
+ else: |
+ # TODO(jbudorick): Remove once the bots have switched over. |
+ blacklist = device_blacklist.Blacklist(device_blacklist.BLACKLIST_JSON) |
devices = device_utils.DeviceUtils.HealthyDevices(blacklist) |
if args.device: |