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

Unified Diff: telemetry/telemetry/internal/actions/navigate.py

Issue 2978643002: Removing bad-continuation param and fixing resulting errors. Fixed indentation errors, in telemetry… (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « telemetry/telemetry/internal/actions/key_event_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/actions/navigate.py
diff --git a/telemetry/telemetry/internal/actions/navigate.py b/telemetry/telemetry/internal/actions/navigate.py
index c2a81fdc759902f4db3fef5ee64a731d44f2009c..ddf022b4530f2c9d28d01d564e24de2c687dcd45 100644
--- a/telemetry/telemetry/internal/actions/navigate.py
+++ b/telemetry/telemetry/internal/actions/navigate.py
@@ -22,7 +22,7 @@ class NavigateAction(page_action.PageAction):
self._script_to_evaluate_on_commit,
self._timeout_in_seconds)
- time_left_in_seconds = (start_time + self._timeout_in_seconds
+ time_left_in_seconds = (start_time + self._timeout_in_seconds \
- time.time())
time_left_in_seconds = max(0, time_left_in_seconds)
tab.WaitForDocumentReadyStateToBeInteractiveOrBetter(
« no previous file with comments | « telemetry/telemetry/internal/actions/key_event_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698