This commit is contained in:
Yann Leboulanger 2006-03-01 19:25:55 +00:00
parent 6505d57f38
commit aa90dc35a6
1 changed files with 3 additions and 3 deletions

View File

@ -220,10 +220,10 @@ class Contacts:
def define_meta_contacts(self, account, children_list):
self._parent_meta_contacts[account] = {}
for parent_jid in children_list:
parent_list = self._children_meta_contacts[account][parent_jid] = []
list = self._children_meta_contacts[account][parent_jid] = []
for children_jid in children_list[parent_jid]:
if not children_jid in parent_list[parent_jid]:
parent_list[parent_jid].append(children_jid)
if not children_jid in list:
list.append(children_jid)
self._parent_meta_contacts[account][children_jid] = parent_jid
def add_subcontact(self, account, parent_jid, child_jid):