Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include all LoadLibrary() failures in exception chain
If libopenslide.so.1 fails to load, we want to report that exception too, not just the fact that libopenslide.so.0 doesn't exist. Make try_load() recursive rather than iterative, allowing Python's exception chaining to handle this automatically. Reported-by: Govinda Kamath <[email protected]> Signed-off-by: Benjamin Gilbert <[email protected]>
- Loading branch information