Index: recipe_modules/bot_update/api.py |
diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py |
index d88d929938bcbbc954d9e835c5c8eca5f8b6ed02..d5accf2137c0c3a5af8b6f7a2420e406f5ea901d 100644 |
--- a/recipe_modules/bot_update/api.py |
+++ b/recipe_modules/bot_update/api.py |
@@ -72,7 +72,8 @@ class BotUpdateApi(recipe_api.RecipeApi): |
patch=True, update_presentation=True, |
force=False, patch_root=None, no_shallow=False, |
with_branch_heads=False, refs=None, |
- patch_oauth2=False, use_site_config_creds=True, |
+ patch_oauth2=False, oauth2_json=None, |
+ use_site_config_creds=True, |
output_manifest=True, clobber=False, |
root_solution_revision=None, rietveld=None, issue=None, |
patchset=None, gerrit_no_reset=False, |
@@ -182,6 +183,7 @@ class BotUpdateApi(recipe_api.RecipeApi): |
['--gerrit_ref', gerrit_ref], |
['--apply_issue_email_file', email_file], |
['--apply_issue_key_file', key_file], |
+ ['--apply_issue_oauth2_file', oauth2_json], |
# 4. Hookups to JSON output back into recipes. |
['--output_json', self.m.json.output()],] |