Chromium Code Reviews| Index: recipe_modules/bot_update/example.py |
| diff --git a/recipe_modules/bot_update/example.py b/recipe_modules/bot_update/example.py |
| index fd2c5fc99d7628a29aab2f88900daa00dfd64853..03bfefb2c49fc8a8e19baa3b1ae88d518951b7a3 100644 |
| --- a/recipe_modules/bot_update/example.py |
| +++ b/recipe_modules/bot_update/example.py |
| @@ -34,13 +34,13 @@ def RunSteps(api): |
| root_solution_revision = api.properties.get('root_solution_revision') |
| suffix = api.properties.get('suffix') |
| gerrit_no_reset = True if api.properties.get('gerrit_no_reset') else False |
| - gerrit_rebase_patch_ref = bool(api.properties.get('gerrit_rebase_patch_ref')) |
| + gerrit_no_rebase_patch_ref = bool(api.properties.get('gerrit_no_rebase_patch_ref')) |
|
tandrii(chromium)
2016/08/31 18:31:18
nit: 80 chars
Bons
2016/08/31 18:47:55
Done
|
| if api.properties.get('test_apply_gerrit_ref'): |
| api.bot_update.apply_gerrit_ref( |
| root='/tmp/test/root', |
| gerrit_no_reset=gerrit_no_reset, |
| - gerrit_rebase_patch_ref=gerrit_rebase_patch_ref) |
| + gerrit_no_rebase_patch_ref=gerrit_no_rebase_patch_ref) |
| else: |
| api.bot_update.ensure_checkout( |
| force=force, |
| @@ -53,7 +53,7 @@ def RunSteps(api): |
| root_solution_revision=root_solution_revision, |
| suffix=suffix, |
| gerrit_no_reset=gerrit_no_reset, |
| - gerrit_rebase_patch_ref=gerrit_rebase_patch_ref) |
| + gerrit_no_rebase_patch_ref=gerrit_no_rebase_patch_ref) |
| def GenTests(api): |
| @@ -158,15 +158,15 @@ def GenTests(api): |
| slavename='somehost', |
| gerrit_no_reset=1 |
| ) |
| - yield api.test('gerrit_rebase_patch_ref') + api.properties( |
| + yield api.test('gerrit_no_rebase_patch_ref') + api.properties( |
| mastername='experimental', |
| buildername='Experimental Builder', |
| slavename='somehost', |
| - gerrit_rebase_patch_ref=True |
| + gerrit_no_rebase_patch_ref=True |
| ) |
| yield api.test('apply_gerrit_ref') + api.properties( |
| repository='chromium', |
| - gerrit_rebase_patch_ref=True, |
| + gerrit_no_rebase_patch_ref=True, |
| gerrit_no_reset=1, |
| test_apply_gerrit_ref=True, |
| ) |