summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza/iq.py
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2010-02-15 21:42:27 -0800
committerNathan Fritz <fritzy@netflint.net>2010-02-15 21:42:27 -0800
commit0dcbe92d1e49a9f009b39c39150307e3c15c9f9b (patch)
treec723aa7aae91f9dccb1a0bd0ff916e18449964ad /sleekxmpp/stanza/iq.py
parentac1d76b23d7d4137b175e85fbabae94d663a9773 (diff)
downloadslixmpp-0dcbe92d1e49a9f009b39c39150307e3c15c9f9b.tar.gz
slixmpp-0dcbe92d1e49a9f009b39c39150307e3c15c9f9b.tar.bz2
slixmpp-0dcbe92d1e49a9f009b39c39150307e3c15c9f9b.tar.xz
slixmpp-0dcbe92d1e49a9f009b39c39150307e3c15c9f9b.zip
got rid of stupid iq set/get/error/result methods
Diffstat (limited to 'sleekxmpp/stanza/iq.py')
-rw-r--r--sleekxmpp/stanza/iq.py17
1 files changed, 0 insertions, 17 deletions
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)