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

Side by Side Diff: scripts/slave/recipe_modules/rietveld/api.py

Issue 17635005: Make blink_trybot recipe work on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Address comments Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from slave import recipe_api 5 from slave import recipe_api
6 6
7 class RietveldApi(recipe_api.RecipeApi): 7 class RietveldApi(recipe_api.RecipeApi):
8 def apply_issue(self, *root_pieces): 8 def apply_issue(self, *root_pieces):
9 return self.m.step('apply_issue', [ 9 return self.m.python('apply_issue',
10 self.m.path.depot_tools('apply_issue'), 10 self.m.path.depot_tools('apply_issue.py'), [
11 '-r', self.m.path.checkout(*root_pieces), 11 '-r', self.m.path.checkout(*root_pieces),
12 '-i', self.m.properties['issue'], 12 '-i', self.m.properties['issue'],
13 '-p', self.m.properties['patchset'], 13 '-p', self.m.properties['patchset'],
14 '-s', self.m.properties['rietveld'], 14 '-s', self.m.properties['rietveld'],
15 '-e', 'commit-bot@chromium.org']) 15 '-e', 'commit-bot@chromium.org',
16 '--no-commit'])
16 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698