Chromium Code Reviews| Index: recipes/blink.py |
| diff --git a/recipes/blink.py b/recipes/blink.py |
| index fba16fb1564c474166e8d67862c46f8afbce3469..cf124e235cfc0c4b9023fee14d38f16edc5e43ea 100644 |
| --- a/recipes/blink.py |
| +++ b/recipes/blink.py |
| @@ -2,11 +2,13 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| +import sys |
| import json |
|
M-A Ruel
2013/04/29 13:43:04
sorted
|
| # pylint: disable=F0401 |
|
M-A Ruel
2013/04/29 13:43:04
same as the other file. And separate stdlib from n
|
| import recipe_util |
| -import sys |
| + |
| +# This class doesn't need an __init__ method, so we disable the warning |
| # pylint: disable=W0232 |
| class Blink(recipe_util.Recipe): |
| """Basic Recipe alias for Blink -> Chromium.""" |
| @@ -20,16 +22,19 @@ class Blink(recipe_util.Recipe): |
| 'svn_ref': 'master', |
| } |
| } |
| - return {'alias': { |
| + return { |
| + 'alias': { |
| 'recipe': 'chromium', |
| - 'props': ['--webkit_rev=ToT', |
| - '--submodule_git_svn_spec=' + json.dumps(submodule_spec)] |
| - } |
| + 'props': [ |
| + '--webkit_rev=ToT', |
| + '--submodule_git_svn_spec=' + json.dumps(submodule_spec), |
| + ], |
| + }, |
| } |
| def main(argv=None): |
| - Blink().handle_args(argv) |
| + return Blink().handle_args(argv) |
| if __name__ == '__main__': |