Skip to content
Commit db039758 authored by Florent Fourcot's avatar Florent Fourcot
Browse files

browser: introduce PARENT_ATTR class attribute

When the module does not have a BROWSER attribute (for example, modules
with several browser) we cannot use the AbstractBrowser: we got one
horrible exception since module.klass.BROWSER is None.

This patch add the PARENT_ATTR option, to get any class loaded somewhere
in the parent module. It also add a better exception message when we
fail to load the parent browser
parent a7dd3d62
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment