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

Unified Diff: telemetry/telemetry/internal/platform/profiler/iprofiler_profiler.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/platform/profiler/iprofiler_profiler.py
diff --git a/telemetry/telemetry/internal/platform/profiler/iprofiler_profiler.py b/telemetry/telemetry/internal/platform/profiler/iprofiler_profiler.py
index e7137f807258c6ae6ea7ad45afa61f0939796b1f..bf57427a6975706a9633ff6e10320bae794a830d 100644
--- a/telemetry/telemetry/internal/platform/profiler/iprofiler_profiler.py
+++ b/telemetry/telemetry/internal/platform/profiler/iprofiler_profiler.py
@@ -7,9 +7,10 @@ import signal
import sys
from telemetry.core import exceptions
-from telemetry.core import util
from telemetry.internal.platform import profiler
+import py_utils
+
try:
import pexpect # pylint: disable=import-error
except ImportError:
@@ -46,7 +47,7 @@ class _SingleProcessIprofilerProfiler(object):
print
def Echo():
return self._proc.getecho()
- util.WaitFor(Echo, timeout=5)
+ py_utils.WaitFor(Echo, timeout=5)
def CollectProfile(self):
self._proc.kill(signal.SIGINT)

Powered by Google App Engine
This is Rietveld 408576698