Skip to content

Add RuntimeError to possible exceptions when searching for libc#178

Open
letorbi wants to merge 1 commit intoseb-m:masterfrom
letorbi:master
Open

Add RuntimeError to possible exceptions when searching for libc#178
letorbi wants to merge 1 commit intoseb-m:masterfrom
letorbi:master

Conversation

@letorbi
Copy link

@letorbi letorbi commented Aug 15, 2019

Pyinotify throws an exception on Synology DiskStation systems, because ctypes.util.find_library() throws a RuntimeError instead of the expected OSError or IOError.

This PR fixes this by adding RuntimeError to the list of expected exception types.

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