summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-12-28 16:17:08 -0500
committerLance Stout <lancestout@gmail.com>2010-12-28 16:17:08 -0500
commite55e213c78e718942cc741e24375dcbb393503c2 (patch)
tree19c9077786443a622b44999e9192c5d078e3d5c1
parent8749f5e09bcc13c6b40e98025329b23194277803 (diff)
downloadslixmpp-e55e213c78e718942cc741e24375dcbb393503c2.tar.gz
slixmpp-e55e213c78e718942cc741e24375dcbb393503c2.tar.bz2
slixmpp-e55e213c78e718942cc741e24375dcbb393503c2.tar.xz
slixmpp-e55e213c78e718942cc741e24375dcbb393503c2.zip
Fix some typos.
-rw-r--r--sleekxmpp/basexmpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py
index 42cbaa04..fa0d1ae0 100644
--- a/sleekxmpp/basexmpp.py
+++ b/sleekxmpp/basexmpp.py
@@ -245,7 +245,7 @@ class BaseXMPP(XMLStream):
"""Create a Presence stanza associated with this stream."""
return Presence(self, *args, **kwargs)
- def make_iq(self, id=0, ifrom=None, ito=None, type=None, query=None):
+ def make_iq(self, id=0, ifrom=None, ito=None, itype=None, iquery=None):
"""
Create a new Iq stanza with a given Id and from JID.
@@ -262,7 +262,7 @@ class BaseXMPP(XMLStream):
iq['to'] = ito
iq['from'] = ifrom
iq['type'] = itype
- iq['query'] = query
+ iq['query'] = iquery
return iq
def make_iq_get(self, queryxmlns=None, ito=None, ifrom=None, iq=None):