Index: tools/telemetry/telemetry/core/util.py |
diff --git a/tools/telemetry/telemetry/core/util.py b/tools/telemetry/telemetry/core/util.py |
index 2ae9d725e8015e5092e458ef3f576c4e65cf668a..38bcc256c08ed0c1ab27ac66760b0d7e00ee84cd 100644 |
--- a/tools/telemetry/telemetry/core/util.py |
+++ b/tools/telemetry/telemetry/core/util.py |
@@ -2,7 +2,6 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import imp |
import inspect |
import logging |
import os |
@@ -41,14 +40,6 @@ def AddDirToPythonPath(*path_parts): |
if os.path.isdir(path) and path not in sys.path: |
sys.path.append(path) |
-_counter = [0] |
-def _GetUniqueModuleName(): |
- _counter[0] += 1 |
- return "page_set_module_" + str(_counter[0]) |
- |
-def GetPythonPageSetModule(file_path): |
- return imp.load_source(_GetUniqueModuleName(), file_path) |
- |
def WaitFor(condition, timeout): |
"""Waits for up to |timeout| secs for the function |condition| to return True. |