From cd9eed6277302df669ecef0deed2a642c8943513 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Mon, 20 Jul 2009 23:51:17 +0200 Subject: [PATCH] stupid me, calling .keys() on a dict ... --- src/common/contacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/contacts.py b/src/common/contacts.py index 40d54f786a..81c3a4dd21 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -292,7 +292,7 @@ class Contacts: def iter_contacts(self, account): if account in self._contacts: for jid in self._contacts[account].keys(): - for contact in self._contacts[account][jid].keys(): + for contact in self._contacts[account][jid]: yield contact def get_contact_from_full_jid(self, account, fjid): -- GitLab