From 0dcbe92d1e49a9f009b39c39150307e3c15c9f9b Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Mon, 15 Feb 2010 21:42:27 -0800 Subject: got rid of stupid iq set/get/error/result methods --- sleekxmpp/stanza/iq.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'sleekxmpp/stanza') diff --git a/sleekxmpp/stanza/iq.py b/sleekxmpp/stanza/iq.py index 85165e1c..e76280b4 100644 --- a/sleekxmpp/stanza/iq.py +++ b/sleekxmpp/stanza/iq.py @@ -26,23 +26,6 @@ class Iq(RootStanza): self['error']['text'] = 'No handlers registered for this request.' self.send() - def result(self): - self['type'] = 'result' - return self - - def set(self): - self['type'] = 'set' - return self - - def error(self): - #TODO add error payloads - self['type'] = 'error' - return self - - def get(self): - self['type'] = 'get' - return self - def setPayload(self, value): self.clear() StanzaBase.setPayload(self, value) -- cgit v1.2.3