We do not need to check that, it's already done in conn_handlers._MucAdminCB()

This commit is contained in:
Jean-Marie Traissard 2008-05-05 00:44:08 +00:00
parent 5689daf66b
commit 5742d2e1e7
1 changed files with 5 additions and 6 deletions

View File

@ -2504,7 +2504,6 @@ class GroupchatConfigWindow:
def affiliation_list_received(self, list):
'''Fill the affiliation treeview'''
for jid in list:
if list[jid].has_key('affiliation'):
affiliation = list[jid]['affiliation']
if affiliation not in self.affiliation_labels.keys():
# Unknown affiliation or 'none' affiliation, do not show it