Skip to content

fix some exception handlers#245

Closed
ThomasWaldmann wants to merge 1 commit intojborg:masterfrom
ThomasWaldmann:fix_exceptions
Closed

fix some exception handlers#245
ThomasWaldmann wants to merge 1 commit intojborg:masterfrom
ThomasWaldmann:fix_exceptions

Conversation

@ThomasWaldmann
Copy link
Contributor

don't catch "Exception" when OSError was meant (otherwise e.errno is not there anyway)
don't use bare "except:" if one can avoid (copied code fragment from similar handler)

don't catch "Exception" when OSError was meant (otherwise e.errno is not there anyway)
don't use bare "except:" if one can avoid (copied code fragment from similar handler)
@ThomasWaldmann
Copy link
Contributor Author

closing this pull request, seems unwanted.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant