diff --git a/recipes/recipe_modules/git_cl/api.py b/recipes/recipe_modules/git_cl/api.py index 039345ebd..e9cb12dfe 100644 --- a/recipes/recipe_modules/git_cl/api.py +++ b/recipes/recipe_modules/git_cl/api.py @@ -16,7 +16,7 @@ class GitClApi(recipe_api.RecipeApi): name = name + ' (%s)' % kwargs.pop('suffix') my_loc = self.c.repo_location if self.c else None - cmd = ['vpython', self.repo_resource('git_cl.py'), subcmd] + args + cmd = ['vpython3', self.repo_resource('git_cl.py'), subcmd] + args with self.m.context(cwd=self.m.context.cwd or my_loc): return self.m.step(name, cmd, **kwargs) diff --git a/recipes/recipe_modules/git_cl/examples/full.expected/basic.json b/recipes/recipe_modules/git_cl/examples/full.expected/basic.json index 4df201d47..e978b41a3 100644 --- a/recipes/recipe_modules/git_cl/examples/full.expected/basic.json +++ b/recipes/recipe_modules/git_cl/examples/full.expected/basic.json @@ -1,7 +1,7 @@ [ { "cmd": [ - "vpython", + "vpython3", "RECIPE_REPO[depot_tools]/git_cl.py", "upload", "--message-file", @@ -11,7 +11,7 @@ }, { "cmd": [ - "vpython", + "vpython3", "RECIPE_REPO[depot_tools]/git_cl.py", "issue" ], @@ -19,7 +19,7 @@ }, { "cmd": [ - "vpython", + "vpython3", "RECIPE_REPO[depot_tools]/git_cl.py", "description", "-d", @@ -29,7 +29,7 @@ }, { "cmd": [ - "vpython", + "vpython3", "RECIPE_REPO[depot_tools]/git_cl.py", "description", "-n", @@ -48,7 +48,7 @@ }, { "cmd": [ - "vpython", + "vpython3", "RECIPE_REPO[depot_tools]/git_cl.py", "description", "-d" @@ -65,7 +65,7 @@ }, { "cmd": [ - "vpython", + "vpython3", "RECIPE_REPO[depot_tools]/git_cl.py", "description", "-n", @@ -77,7 +77,7 @@ }, { "cmd": [ - "vpython", + "vpython3", "RECIPE_REPO[depot_tools]/git_cl.py", "description", "-d"