better capabilities management (class interfaces instead of constants)
This commit is contained in:
parent
283a5360ad
commit
f06ef5da34
7 changed files with 41 additions and 34 deletions
|
|
@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
"""
|
||||
|
||||
from weboob.backend import Backend
|
||||
from weboob.capabilities import CAP_MAILS
|
||||
from weboob.capabilities.messages import IMessages, IMessagesReply
|
||||
|
||||
class AuMBackend(Backend):
|
||||
CAPS = CAP_MAILS
|
||||
class AuMBackend(Backend, IMessages, IMessagesReply):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
"""
|
||||
|
||||
from weboob.backend import Backend
|
||||
from weboob.capabilities import CAP_MAILS
|
||||
from weboob.capabilities.messages import IMessages, IMessagesReply
|
||||
|
||||
class DLFPBackend(Backend):
|
||||
CAPS = CAP_MAILS
|
||||
class DLFPBackend(Backend, IMessages, IMessagesReply):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue