summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r--sleekxmpp/stanza/roster.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sleekxmpp/stanza/roster.py b/sleekxmpp/stanza/roster.py
index 4788ba72..253c2aea 100644
--- a/sleekxmpp/stanza/roster.py
+++ b/sleekxmpp/stanza/roster.py
@@ -141,9 +141,7 @@ class RosterItem(ElementBase):
def del_groups(self):
for group in self.xml.findall('{%s}group' % self.namespace):
- self.xmp.remove(group)
-
-
+ self.xml.remove(group)
register_stanza_plugin(Iq, Roster)