Index: build/android/buildbot/bb_device_status_check.py |
diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py |
index e7d8c547db728ead7a47d1087dde30a49c8c9081..4fba850cfb452790010dc44cc6f33d24e6461d7a 100755 |
--- a/build/android/buildbot/bb_device_status_check.py |
+++ b/build/android/buildbot/bb_device_status_check.py |
@@ -29,7 +29,7 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..')) |
from pylib import android_commands |
from pylib import constants |
from pylib.cmd_helper import GetCmdOutput |
- |
+from pylib.device import device_blacklist |
def DeviceInfo(serial, options): |
"""Gathers info on a device via various adb calls. |
@@ -275,8 +275,8 @@ def main(): |
if args: |
parser.error('Unknown options %s' % args) |
- # Remove the last builds "bad devices" before checking device statuses. |
- android_commands.ResetBadDevices() |
+ # Remove the last build's "bad devices" before checking device statuses. |
+ device_blacklist.ResetBlacklist() |
if options.restart_usb: |
expected_devices = GetLastDevices(os.path.abspath(options.out_dir)) |