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 67a433cb39a92af508644e16d222dc7d5374c85c..f9187c9c98387346d108c7f3b099d90609fac8cb 100644 |
--- a/scripts/slave/recipe_modules/git/api.py |
+++ b/scripts/slave/recipe_modules/git/api.py |
@@ -2,6 +2,7 @@ |
# 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 |
@@ -256,7 +257,7 @@ class GitApi(recipe_api.RecipeApi): |
sha = rev_parse_step.stdout.strip() |
rev_parse_step.presentation.properties['got_revision'] = sha |
- clean_args = list(self.m.itertools.chain( |
+ clean_args = list(itertools.chain( |
*[('-e', path) for path in keep_paths or []])) |
self('clean', '-f', '-d', '-x', *clean_args, |