Remove more threaded= and block= options from the plugins

(also, correct a typo)
This commit is contained in:
mathieui
2015-02-12 12:21:20 +01:00
parent 44f02fb3ab
commit 4d063e287e
22 changed files with 66 additions and 128 deletions

View File

@@ -70,7 +70,7 @@ class XEP_0092(BasePlugin):
iq['software_version']['os'] = self.os
iq.send()
def get_version(self, jid, ifrom=None, block=True, timeout=None, callback=None):
def get_version(self, jid, ifrom=None, timeout=None, callback=None):
"""
Retrieve the software version of a remote agent.
@@ -82,4 +82,4 @@ class XEP_0092(BasePlugin):
iq['from'] = ifrom
iq['type'] = 'get'
iq['query'] = Version.namespace
return iq.send(block=block, timeout=timeout, callback=callback)
return iq.send(timeout=timeout, callback=callback)