Skip to content
Commit 938e0d45 authored by Jerome Berthier's avatar Jerome Berthier Committed by hydrargyrum
Browse files

weboob.browser.browser: allow multiple inheritance with AbstractBrowser

When instanciating an AbstractBrowser the 'AbstractBrowser' class was
actually replaced with the class defined in the PARENT attribute.

This behavior did not allow multiple ineritance as the whole
class __basess__ was replaced with the PARENT.

Moreover when you try to inherit an AbstractBrowser from another
AbstractBrowser, only the first AbstractBrowser class was replaced
with the PARENT attribute.

This patch fixes these behaviors by walking over the full parents tree
to replace AbstractBrowser with the current class defined in the
PARENT attributes.
parent 7ae2d402
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