Skip to content
Commit 2e68fdd3 authored by ntome's avatar ntome 💬 Committed by Romain Bignon
Browse files

cmb/cmmc: replicate cmso BackendConfig

cmb and cmso are AbstractModules of cmso, which allows them to inherit cmso's
content. However, the inheritance is only done when instanciating the module.
When adding a backend with weboob command-lines, the module is NOT
instanciated yet and thus does not inherit the CONFIG attribute, so the
default empty CONFIG is used and the module cannot be configured.

https://git.weboob.org/weboob/devel/issues/44

A workaround is to copy the CONFIG of the PARENT module so it does not need
to be instanciated.

A real fix would be to find a way to inherit the PARENT module class before
using the module's CONFIG (or anything else), with a dependency system at
best.
parent 96d58f3c
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