diff --git a/gclient.py b/gclient.py index 8edc88963..d01fde148 100755 --- a/gclient.py +++ b/gclient.py @@ -247,9 +247,7 @@ class Hook(object): cmd = list(self._action) - if cmd[0] == 'python': - cmd[0] = 'vpython' - if (cmd[0] in ['vpython', 'vpython3']) and _detect_host_os() == 'win': + if cmd[0] == 'vpython3' and _detect_host_os() == 'win': cmd[0] += '.bat' exit_code = 2