From 9582c63c8c7501fdd114e835b2771e6b36d957e9 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 7 Jul 2010 16:41:39 +0200 Subject: [PATCH] fix iteration on contacts --- weboob/backends/aum/backend.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weboob/backends/aum/backend.py b/weboob/backends/aum/backend.py index 7c8edc26..b3254cb3 100644 --- a/weboob/backends/aum/backend.py +++ b/weboob/backends/aum/backend.py @@ -188,10 +188,10 @@ class AuMBackend(BaseBackend, ICapMessages, ICapMessagesReply, ICapDating, ICapC continue # TODO age in contact['birthday'] - contact = Contact(contact['id'], contact['pseudo'], s) - contact.status_msg = u'%s old' % contact['birthday'] - contact.thumbnail_url = contact['cover'] - yield contact + c = Contact(contact['id'], contact['pseudo'], s) + c.status_msg = u'%s old' % contact['birthday'] + c.thumbnail_url = contact['cover'] + yield c def iter_chat_messages(self, _id=None): with self.browser: