create-workspace: check programs - fix case with absent executable

This commit is contained in:
Oleksii Shevchuk 2020-03-29 21:54:55 +03:00
parent f5e3d977bb
commit b95be4967f
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ def check_programs(programs, available=False):
subprocess.check_call(args, stdout=devnull)
ok.append(program)
except subprocess.CalledProcessError:
except (OSError, subprocess.CalledProcessError):
messages.append(message)
if available: