Skip to content

Commit

Permalink
create-workspace: check programs - fix case with absent executable
Browse files Browse the repository at this point in the history
  • Loading branch information
alxchk committed Mar 29, 2020
1 parent f5e3d97 commit b95be49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b95be49

Please sign in to comment.