update comment

This commit is contained in:
Yann Leboulanger 2006-04-10 09:04:14 +00:00
parent cb242e2bbd
commit 1d496233f8
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class Contacts:
def get_contact(self, account, jid, resource = None): def get_contact(self, account, jid, resource = None):
'''Returns the list of contact instances for this jid (one per resource) '''Returns the list of contact instances for this jid (one per resource)
if no resource is given or [] if no resource is given
returns the contact instance for the given resource if it's given returns the contact instance for the given resource if it's given
or None if there is not''' or None if there is not'''
if jid in self._contacts[account]: if jid in self._contacts[account]: