Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from cisagov/fix/unreachable
Browse files Browse the repository at this point in the history
Fix/unreachable
  • Loading branch information
felddy committed Jul 5, 2019
2 parents 78ba275 + 7d05537 commit 89bc2ac
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,22 @@ script:
- pytest --runslow
after_success:
- coveralls
deploy:
- provider: pypi
user: felddy
password:
secure: "FjuPaZG2rE1UFOuX3DBIsGMYrVwBxjxMn/vQAU+826dYJkerHjAalwd\
4i7oVHedqBIb9Mukvy6oG24COnCXncEs1bydPxg89bGC/ExRbch6+xDS44Z9KVVf\
dcJpKHW7RWMfAGlnIVx+/IlsV4DoEdDvpeqr2ZDZkHA1FcbV3aKdhQfQUOw8GfeC\
ShsAmlt4Kr3D3FzGW3+fARHzMXfoWJWr34L0Cp6mfH1wbBbCBAAGUAybQXVjIknz\
xHXzS8CHEQwcv58QyD3SwPZGZkGlDeWypfztrRf10VVqljZgMxghgxSOKwF9vmdj\
5+4B0FYidDcYMrWkW5Q2msk/vOFOLLHs5p8Cci4d1Qe79arsNBWL8KsjXRSTymxa\
L8xEtfhqP5bfRcP/chRSnBe7pW/ej8Se9GZWsJQfuJYhzmkZBtEQfZcXGQg11x4Q\
915UOG9HKOh6RKs4/JQfJOLdSCISxgnADi8qnhEiZSEf9JnUpEG0fJeoBk0TcTGh\
Vd6wiGUX11r2lKgEPpwhXKdVG8ns9/P8VDhLJr36bn0+ce+4CmJAt5tUer8ruocg\
qICUiJ84YSK3rVfQkpYN/AYjuFxjtlrChZKHRjVxEjh1UdA2pyuLwP/p9OXwgkQe\
RtGzHsIkj0jfA++B8zP/YYIIKtCuCN8I7a7tnBI9ebZF8WcTesw0="
distributions: sdist bdist_wheel
on:
tags: true
python: '3.7'
5 changes: 2 additions & 3 deletions src/travis_wait_improved/sherpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ def main():
sleep_time = calculate_sleep_time(remaining_delta)
# Sleep while waiting for the child to exit.
return_code = child.wait(sleep_time)
if return_code is not None:
# The child has exited before the timeout
break
# The child has exited before the timeout
break
except subprocess.TimeoutExpired:
# The child did not exit. Not a problem.
pass
Expand Down

0 comments on commit 89bc2ac

Please sign in to comment.