summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorxmo-odoo <xmo-odoo@users.noreply.github.com>2016-01-29 10:20:08 +0100
committerxmo-odoo <xmo-odoo@users.noreply.github.com>2016-01-29 10:20:08 +0100
commitedeb5a8c0fb5c837364f1d92db731f89824bb28a (patch)
tree8982b50677cb3bbbab749c81371c764e76c8ea41 /addons
parentca7983a40fdadf4f28760a879ffcee342850d112 (diff)
[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 64ec5f36df 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 #10670
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions