accidental debugging return left in the code from last commit

This commit is contained in:
Nathan Fritz 2010-07-15 14:25:10 -07:00
parent bae082f437
commit 078c71ed3f

View file

@ -148,7 +148,6 @@ class ClientXMPP(basexmpp, XMLStream):
iq = self.Iq().setValues({'type': 'set'}) iq = self.Iq().setValues({'type': 'set'})
iq['roster']['items'] = {jid: {'name': name, 'subscription': subscription, 'groups': groups}} iq['roster']['items'] = {jid: {'name': name, 'subscription': subscription, 'groups': groups}}
#self.send(iq, self.Iq().setValues({'id': iq['id']})) #self.send(iq, self.Iq().setValues({'id': iq['id']}))
return
r = iq.send() r = iq.send()
return r['type'] == 'result' return r['type'] == 'result'