Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] module finder path parameter should be optional
According to PEP302, the signature of `Finder.find_module` should be `find_module(fullname, path=None)`. Ever since it was introduced in 64ec5f3 the addons import hook defines the second parameter as mandatory, which is an issue for systems relying on the specified behaviour (and not needing to provide a path) like the stdlib's `pkgutil.find_loader`. fixes odoo#10670
- Loading branch information