WAR for files that have moved from telemetry.core to telemetry.internal.
BUG=chromium:506037
TEST=autotests
Change-Id: I5c934d4c3733e7a9f73aa5bed619e1a2d2711856
Reviewed-on: https://chromium-review.googlesource.com/282769
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Tested-by: Achuith Bhandarkar <achuith@chromium.org>
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>
Trybot-Ready: Achuith Bhandarkar <achuith@chromium.org>
diff --git a/client/common_lib/cros/chrome.py b/client/common_lib/cros/chrome.py
index 233941d..cda8fdf 100644
--- a/client/common_lib/cros/chrome.py
+++ b/client/common_lib/cros/chrome.py
@@ -5,9 +5,21 @@
import logging, os
from autotest_lib.client.cros import constants
-from telemetry.core import browser_finder, browser_options, exceptions
-from telemetry.core import extension_to_load, util
+from telemetry.core import exceptions, util
+# TODO(achuith): Clean this up - crbug.com/506037.
+try:
+ from telemetry.core import browser_finder
+except ImportError:
+ from telemetry.internal.browser import browser_finder
+try:
+ from telemetry.core import browser_options
+except ImportError:
+ from telemetry.internal.browser import browser_options
+try:
+ from telemetry.core import extension_to_load
+except ImportError:
+ from telemetry.internal.browser import extension_to_load
Error = exceptions.Error