use iterators

This commit is contained in:
Christophe Benz 2010-03-11 11:37:54 +01:00 committed by Christophe Benz
commit 9cb692a888
5 changed files with 11 additions and 10 deletions

View file

@ -73,7 +73,7 @@ class Message:
return self.new
class ICapMessages:
def getNewMessages(self, thread=None):
def iter_messages(self, thread=None):
"""
Get new messages from last time this function has been called.