From 07e46837d9da11ce41ea18a5276bfe740aa8dfbc Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 1 Aug 2014 15:02:54 +0200 Subject: Fix some more blocking iq --- slixmpp/clientxmpp.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'slixmpp/clientxmpp.py') 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. -- cgit v1.2.3