Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py

Issue 739623005: [Telemetry] Resolve errors due to new pylint checker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready to land Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py b/tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py
index af0fbd33a7409b49f62ccb061f2e5a4c2573928d..908efb793dbcc4ec2bd2db6ae0209bd074fbaa7d 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py
@@ -8,6 +8,7 @@ import logging
from telemetry.core import platform as platform_module
from telemetry.core import browser
+from telemetry.core import browser_finder_exceptions
from telemetry.core import possible_browser
from telemetry.core.platform import cros_device
from telemetry.core.platform import cros_interface
@@ -126,8 +127,7 @@ def FindAllAvailableBrowsers(finder_options):
logging.warn('There, that was easy!')
logging.warn('')
logging.warn('P.S. Please, tell your manager how INANE this is.')
- from telemetry.core import browser_finder
- raise browser_finder.BrowserFinderException(str(ex))
+ raise browser_finder_exceptions.BrowserFinderException(str(ex))
return [PossibleCrOSBrowser('cros-chrome', finder_options, platform,
is_guest=False),

Powered by Google App Engine
This is Rietveld 408576698