Index: scripts/slave/recipe_modules/git/api.py |
diff --git a/scripts/slave/recipe_modules/git/api.py b/scripts/slave/recipe_modules/git/api.py |
index a0fca5f4be7c97bf896991835c27b85457852338..303a666f9b4c1c84796f91db4f99211fa53cafcf 100644 |
--- a/scripts/slave/recipe_modules/git/api.py |
+++ b/scripts/slave/recipe_modules/git/api.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 itertools |
import re |
from recipe_engine import recipe_api |
@@ -260,7 +259,7 @@ |
sha = rev_parse_step.stdout.strip() |
rev_parse_step.presentation.properties['got_revision'] = sha |
- clean_args = list(itertools.chain( |
+ clean_args = list(self.m.itertools.chain( |
*[('-e', path) for path in keep_paths or []])) |
self('clean', '-f', '-d', '-x', *clean_args, |