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

Unified Diff: telemetry/telemetry/internal/backends/form_based_credentials_backend.py

Issue 2453073002: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor (Closed)
Patch Set: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor Created 4 years, 2 months 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: telemetry/telemetry/internal/backends/form_based_credentials_backend.py
diff --git a/telemetry/telemetry/internal/backends/form_based_credentials_backend.py b/telemetry/telemetry/internal/backends/form_based_credentials_backend.py
index c2c23dc69315de2e25be88dcc86fd990a8952264..1cf4c831672718c44e6764dfa6f4a0e4c6e4de1e 100644
--- a/telemetry/telemetry/internal/backends/form_based_credentials_backend.py
+++ b/telemetry/telemetry/internal/backends/form_based_credentials_backend.py
@@ -4,7 +4,8 @@
import logging
from telemetry import decorators
-from telemetry.core import exceptions
+
+import py_utils
class FormBasedCredentialsBackend(object):
@@ -118,7 +119,7 @@ class FormBasedCredentialsBackend(object):
self._logged_in = True
return True
- except exceptions.TimeoutException:
+ except py_utils.TimeoutException:
logging.warning('Timed out while loading: %s', url)
return False

Powered by Google App Engine
This is Rietveld 408576698