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 0a7cfd6c224b91e183e5a763f4bc27b4a90a3f66..22e264fca19a0ac36d0b8d2b53e6c984dc0df995 100755 |
--- a/build/android/buildbot/bb_device_status_check.py |
+++ b/build/android/buildbot/bb_device_status_check.py |
@@ -16,6 +16,7 @@ import signal |
import sys |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) |
+from devil import devil_env |
from devil.android import battery_utils |
from devil.android import device_blacklist |
from devil.android import device_errors |
@@ -287,6 +288,8 @@ def main(): |
run_tests_helper.SetLogLevel(args.verbose) |
+ devil_env.config.Initialize() |
+ |
blacklist = (device_blacklist.Blacklist(args.blacklist_file) |
if args.blacklist_file |
else None) |