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 "TypeError: 'OSError' object is not subscriptable" in py3 #1491

Merged
merged 1 commit into from Apr 14, 2017

Conversation

Projects
None yet
4 participants
@fernandezcuesta
Contributor

fernandezcuesta commented Mar 28, 2017

In python3 the exception object is not iterable and must use either the args attribute or in this case errno (equivalent to .args[0]).

@berkerpeksag berkerpeksag merged commit 68260c6 into benoitc:master Apr 14, 2017

8 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
couverture-io/py26 Code coverage OK
Details
couverture-io/py27 Code coverage OK
Details
couverture-io/py34 Code coverage OK
Details
couverture-io/py35 Code coverage OK
Details
couverture-io/py36 Code coverage OK
Details
couverture-io/py36-dev Code coverage OK
Details
couverture-io/py37 Code coverage OK
Details
@berkerpeksag

This comment has been minimized.

Collaborator

berkerpeksag commented Apr 14, 2017

Thanks!

@tilgovi

This comment has been minimized.

Collaborator

tilgovi commented Apr 26, 2017

Thank you!

@CaselIT

This comment has been minimized.

CaselIT commented Aug 24, 2017

@berkerpeksag I'm facing the same bug fixed in this pr in the current version. Is it possible to publish this update on pypi?
Thanks

@tilgovi

This comment has been minimized.

Collaborator

tilgovi commented Apr 28, 2018

@CaselIT 19.8.0 is released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment