Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 from recipe_engine import recipe_api | |
| 6 | |
| 7 class GitClApi(recipe_api.RecipeApi): | |
| 8 def __call__(self, name, args, **kwargs): | |
|
tandrii(chromium)
2016/04/28 05:19:35
how about (self, subcmd, args, name='git_cl ' + su
| |
| 9 return self.m.step(name, [ | |
|
tandrii(chromium)
2016/04/28 05:19:35
nit: hate to write this, but alignment is weird. M
| |
| 10 self.package_repo_resource('git_cl.py')] + args, **kwargs) | |
| 11 | |
| 12 def description(self, args, **kwargs): | |
| 13 return self('git_cl description', ['description'] + args, **kwargs) | |
| OLD | NEW |