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

Unified Diff: scripts/slave/recipe_modules/git/api.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 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
« no previous file with comments | « scripts/slave/recipe_modules/git/__init__.py ('k') | scripts/slave/recipe_modules/gpu/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 303a666f9b4c1c84796f91db4f99211fa53cafcf..a0fca5f4be7c97bf896991835c27b85457852338 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
@@ -259,7 +260,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,
« no previous file with comments | « scripts/slave/recipe_modules/git/__init__.py ('k') | scripts/slave/recipe_modules/gpu/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698