fix traceback
This commit is contained in:
		
							parent
							
								
									9d9bbce366
								
							
						
					
					
						commit
						8079736493
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -490,12 +490,12 @@ class Contacts(): | |||
|                     return c | ||||
| 
 | ||||
|     def iter_contacts(self): | ||||
|         for jid in self._contacts.keys(): | ||||
|         for jid in list(self._contacts.keys()): | ||||
|             for contact in self._contacts[jid][:]: | ||||
|                 yield contact | ||||
| 
 | ||||
|     def get_jid_list(self): | ||||
|         return self._contacts.keys() | ||||
|         return list(self._contacts.keys()) | ||||
| 
 | ||||
|     def get_contacts_jid_list(self): | ||||
|         return [jid for jid, contact in self._contacts.items() if not | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue