This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-12-18 18:54:55 +00:00
parent c7b021c55d
commit 1c923fcdcc

View file

@ -183,10 +183,9 @@ class RosterGroup(object):
def remove_contact(self, contact):
"""
Remove a Contact object to the list
Remove a Contact object from the list
"""
assert isinstance(contact, Contact)
assert contact in self._contacts
self._contacts.remove(contact)
def add_contact(self, contact):