Skip to content

Commit

Permalink
add exception for unexpected value
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas authored Apr 13, 2018
1 parent 479d6fb commit 1523332
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux_docker_resources/rti_web_binaries_install_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def install_connext(installer_path, install_directory):
child.sendline('y')
elif result_index == 2:
child.sendline('n')
else:
raise RuntimeError('Unexpected result index: %d' % result_index)

except (pexpect.TIMEOUT, pexpect.EOF):
raise RuntimeError(
Expand Down

0 comments on commit 1523332

Please sign in to comment.