hop, fixed #2068
This commit is contained in:
parent
c7b021c55d
commit
1c923fcdcc
1 changed files with 1 additions and 2 deletions
|
@ -183,10 +183,9 @@ class RosterGroup(object):
|
||||||
|
|
||||||
def remove_contact(self, contact):
|
def remove_contact(self, contact):
|
||||||
"""
|
"""
|
||||||
Remove a Contact object to the list
|
Remove a Contact object from the list
|
||||||
"""
|
"""
|
||||||
assert isinstance(contact, Contact)
|
assert isinstance(contact, Contact)
|
||||||
assert contact in self._contacts
|
|
||||||
self._contacts.remove(contact)
|
self._contacts.remove(contact)
|
||||||
|
|
||||||
def add_contact(self, contact):
|
def add_contact(self, contact):
|
||||||
|
|
Loading…
Reference in a new issue