no API break
This commit is contained in:
parent
9cb692a888
commit
e4846ff2a4
4 changed files with 13 additions and 4 deletions
|
|
@ -25,5 +25,5 @@ class AuMBackend(Backend, ICapMessages, ICapMessagesReply):
|
|||
def __init__(self, weboob):
|
||||
Backend.__init__(self, weboob)
|
||||
|
||||
def iter_messages(self, thread=None):
|
||||
def iterNewMessages(self, thread=None):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class DLFPBackend(Backend, ICapMessages, ICapMessagesReply):
|
|||
def __init__(self, weboob):
|
||||
Backend.__init__(self, weboob)
|
||||
|
||||
def iter_messages(self, thread=None):
|
||||
def iterNewMessages(self, thread=None):
|
||||
articles_list = ArticlesList('newspaper')
|
||||
for id, author, title in articles_list.iter_articles():
|
||||
yield Message('threadid', id, title, author, signature='Bite bite bite bite', content='Content content\nContent content.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue