stupid me, calling .keys() on a dict ...

This commit is contained in:
Yann Leboulanger 2009-07-20 23:51:17 +02:00
parent e40a3b6272
commit cd9eed6277
1 changed files with 1 additions and 1 deletions

View File

@ -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):