comparison src/tools/memory.py @ 398:cb0285372818

File transfer: - proxy managed in XEP-0065 (Socks5 bytestream) - bug: fixed a bad id used during stream negociation
author Goffi <goffi@goffi.org>
date Wed, 05 Oct 2011 16:49:57 +0200
parents cecd22241d56
children 3ed53803b3b3
comparison
equal deleted inserted replaced
397:ccfd69d090c3 398:cb0285372818
665 665
666 def getContacts(self, profile_key): 666 def getContacts(self, profile_key):
667 """Return list of contacts for given profile 667 """Return list of contacts for given profile
668 @param profile_key: profile key 668 @param profile_key: profile key
669 @return list of [contact, attr, groups]""" 669 @return list of [contact, attr, groups]"""
670 debug ("Memory getContact OK (%s)", self.contacts)
671 profile = self.getProfileName(profile_key) 670 profile = self.getProfileName(profile_key)
672 if not profile: 671 if not profile:
673 error(_('Asking contacts for a non-existant profile')) 672 error(_('Asking contacts for a non-existant profile'))
674 return [] 673 return []
675 ret=[] 674 ret=[]