summaryrefslogtreecommitdiff
path: root/slixmpp/clientxmpp.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-08-01 15:02:54 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-08-01 15:02:54 +0200
commit07e46837d9da11ce41ea18a5276bfe740aa8dfbc (patch)
tree9667459e59db49b9a321830f56a28c0085d34581 /slixmpp/clientxmpp.py
parentfa21e262c77ccabceedc279d2f0b3650a60a1023 (diff)
downloadslixmpp-07e46837d9da11ce41ea18a5276bfe740aa8dfbc.tar.gz
slixmpp-07e46837d9da11ce41ea18a5276bfe740aa8dfbc.tar.bz2
slixmpp-07e46837d9da11ce41ea18a5276bfe740aa8dfbc.tar.xz
slixmpp-07e46837d9da11ce41ea18a5276bfe740aa8dfbc.zip
Fix some more blocking iq
Diffstat (limited to 'slixmpp/clientxmpp.py')
-rw-r--r--slixmpp/clientxmpp.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/slixmpp/clientxmpp.py b/slixmpp/clientxmpp.py
index add7f437..66a846d3 100644
--- a/slixmpp/clientxmpp.py
+++ b/slixmpp/clientxmpp.py
@@ -188,9 +188,6 @@ class ClientXMPP(BaseXMPP):
``'none'``. If set to ``'remove'``,
the entry will be deleted.
:param groups: The roster groups that contain this item.
- :param block: Specify if the roster request will block
- until a response is received, or a timeout
- occurs. Defaults to ``True``.
:param timeout: The length of time (in seconds) to wait
for a response before continuing if blocking
is used. Defaults to
@@ -205,12 +202,11 @@ class ClientXMPP(BaseXMPP):
subscription = kwargs.get('subscription', current['subscription'])
groups = kwargs.get('groups', current['groups'])
- block = kwargs.get('block', True)
timeout = kwargs.get('timeout', None)
callback = kwargs.get('callback', None)
return self.client_roster.update(jid, name, subscription, groups,
- block, timeout, callback)
+ timeout, callback)
def del_roster_item(self, jid):
"""Remove an item from the roster.