summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2009-10-05 17:44:59 +0000
committerNathan Fritz <fritzy@netflint.net>2009-10-05 17:44:59 +0000
commit5dc967a360484e411706d3712b686de625d90b10 (patch)
tree4926f38e324cbaf7614d8d02332e0bc4cab2345a /sleekxmpp/plugins
parent2349f849e3fd146d44af7d6e8714100657cf38da (diff)
downloadslixmpp-5dc967a360484e411706d3712b686de625d90b10.tar.gz
slixmpp-5dc967a360484e411706d3712b686de625d90b10.tar.bz2
slixmpp-5dc967a360484e411706d3712b686de625d90b10.tar.xz
slixmpp-5dc967a360484e411706d3712b686de625d90b10.zip
removed apply()s from xep 50
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0050.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0050.py b/sleekxmpp/plugins/xep_0050.py
index 20e10570..a030470b 100644
--- a/sleekxmpp/plugins/xep_0050.py
+++ b/sleekxmpp/plugins/xep_0050.py
@@ -82,7 +82,7 @@ class xep_0050(base.base_plugin):
pointer = self.sessions[sessionid]['next']
results = self.xmpp['xep_0004'].makeForm('result')
results.fromXML(in_command.find('{jabber:x:data}x'))
- apply(pointer, (results,sessionid))
+ pointer(results,sessioni)
self.xmpp.send(self.makeCommand(xml.attrib['from'], in_command.attrib['node'], form=None, id=xml.attrib['id'], sessionid=sessionid, status='completed', actions=[]))
del self.sessions[in_command.get('sessionid')]
@@ -93,7 +93,7 @@ class xep_0050(base.base_plugin):
pointer = self.sessions[sessionid]['next']
results = self.xmpp['xep_0004'].makeForm('result')
results.fromXML(in_command.find('{jabber:x:data}x'))
- form, npointer, next = apply(pointer, (results,sessionid))
+ form, npointer, next = pointer(results,sessionid)
self.sessions[sessionid]['next'] = npointer
self.sessions[sessionid]['past'].append((form, pointer))
actions = []