Skip to content
Snippets Groups Projects
Commit 050dc873 authored by Manuel Jacob's avatar Manuel Jacob
Browse files

py3: catch specific OSError subclasses instead of checking errno

Contrary to the previous changesets in this series, this covers cases where
errno was checked for multiple values.

EACCES -> PermissionError
ENOENT -> FileNotFoundError
ENOTDIR -> NotADirectoryError
EISDIR -> IsADirectoryError
parent d54b213c
No related branches found
No related tags found
2 merge requests!168branching: merge default into stable,!158Python 3 cleanups (part 2)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment