diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-08-01 15:02:54 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-08-01 15:02:54 +0200 |
commit | 07e46837d9da11ce41ea18a5276bfe740aa8dfbc (patch) | |
tree | 9667459e59db49b9a321830f56a28c0085d34581 /slixmpp/clientxmpp.py | |
parent | fa21e262c77ccabceedc279d2f0b3650a60a1023 (diff) | |
download | slixmpp-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.py | 6 |
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. |