| Index: recipe_modules/bot_update/api.py
|
| diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py
|
| index 31a27335c82c2d67528b6906cce51b748dfd6c98..57b2e4a84bf8218a18b9ad752ee4e0ae6497cdd6 100644
|
| --- a/recipe_modules/bot_update/api.py
|
| +++ b/recipe_modules/bot_update/api.py
|
| @@ -121,9 +121,9 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
| # Point to the oauth2 auth files if specified.
|
| # These paths are where the bots put their credential files.
|
| if patch_oauth2:
|
| - email_file = self.m.path['build'].join(
|
| + email_file = self.m.infra_paths['build'].join(
|
| 'site_config', '.rietveld_client_email')
|
| - key_file = self.m.path['build'].join(
|
| + key_file = self.m.infra_paths['build'].join(
|
| 'site_config', '.rietveld_secret_key')
|
| else:
|
| email_file = key_file = None
|
| @@ -272,7 +272,7 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
| # first solution.
|
| if step_result.json.output['did_run']:
|
| co_root = step_result.json.output['root']
|
| - cwd = kwargs.get('cwd', self.m.path['slave_build'])
|
| + cwd = kwargs.get('cwd', self.m.infra_paths['slave_build'])
|
| if 'checkout' not in self.m.path:
|
| self.m.path['checkout'] = cwd.join(*co_root.split(self.m.path.sep))
|
|
|
|
|