Index: scripts/slave/recipes/chromium_trybot_legacy.py |
diff --git a/scripts/slave/recipes/chromium_trybot_legacy.py b/scripts/slave/recipes/chromium_trybot_legacy.py |
index 32daa52df7e6eaa663f099c6d9a6e15f97ec0898..0a922527b66424440774f0cf40e06fa80941310f 100644 |
--- a/scripts/slave/recipes/chromium_trybot_legacy.py |
+++ b/scripts/slave/recipes/chromium_trybot_legacy.py |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import itertools |
+ |
from infra.libs.infra_types import freeze |
DEPS = [ |
@@ -12,7 +14,6 @@ DEPS = [ |
'gclient', |
'gpu', |
'isolate', |
- 'itertools', |
'json', |
'path', |
'platform', |
@@ -395,7 +396,7 @@ def _RunStepsInternal(api): |
if bot_config.get('use_isolate'): |
api.isolate.clean_isolated_files(api.chromium.output_dir) |
- compile_targets.extend(api.itertools.chain( |
+ compile_targets.extend(itertools.chain( |
*[t.compile_targets(api) for t in tests])) |
# Remove duplicate targets. |
compile_targets = sorted(set(compile_targets)) |
@@ -436,7 +437,7 @@ def _RunStepsInternal(api): |
def deapply_patch_fn(failing_tests): |
api.chromium_tests.deapply_patch(bot_update_step) |
- compile_targets = sorted(list(set(api.itertools.chain( |
+ compile_targets = sorted(list(set(itertools.chain( |
*[t.compile_targets(api) for t in failing_tests])))) |
if compile_targets: |
try: |