Index: build/android/provision_devices.py |
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py |
index 3d9db7286d68ed3757e1c34c9a133327afc82365..e1859d630434db5f79c2dff31c27bbf826b345e7 100755 |
--- a/build/android/provision_devices.py |
+++ b/build/android/provision_devices.py |
@@ -53,11 +53,9 @@ class _PHASES(object): |
def ProvisionDevices(args): |
- 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) |
+ blacklist = (device_blacklist.Blacklist(args.blacklist_file) |
+ if args.blacklist_file |
+ else None) |
devices = device_utils.DeviceUtils.HealthyDevices(blacklist) |
if args.device: |