Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failures on python3.7 #505

Merged
merged 1 commit into from May 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .travis.yml
Expand Up @@ -49,6 +49,3 @@ notifications:
on_failure: always
channels:
- "chat.freenode.org#voxpupuli-notifications"
matrix:
allow_failures:
- python: 3.7
4 changes: 2 additions & 2 deletions MANIFEST.in
@@ -1,5 +1,5 @@
include README.rst
include CHANGELOG.rst
include README.md
include CHANGELOG.md
include LICENSE
recursive-include puppetboard/static *.css *.js *icons.* Open_Sans.woff
recursive-include puppetboard/templates *
Expand Down
6 changes: 2 additions & 4 deletions puppetboard/utils.py
Expand Up @@ -125,7 +125,5 @@ def yield_or_stop(generator):
while True:
try:
yield next(generator)
except StopIteration:
raise
except (EmptyResponseError, ConnectionError, HTTPError):
raise StopIteration
except (EmptyResponseError, ConnectionError, HTTPError, StopIteration):
return
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py{26,27,35,36}
envlist = py{26,27,35,36,37}

[testenv]
deps=
Expand Down