summaryrefslogtreecommitdiff
path: root/slixmpp/xmlstream
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-02-22 20:13:48 +0100
committermathieui <mathieui@mathieui.net>2015-02-22 20:13:48 +0100
commit06358d0665ee68962acef6936e063f4baadc1930 (patch)
tree5093461069b323ca9b24701c31cefd68cd048ade /slixmpp/xmlstream
parent2b3b86e281da03dfe4b2444be5b62811b4dcfe8d (diff)
downloadslixmpp-06358d0665ee68962acef6936e063f4baadc1930.tar.gz
slixmpp-06358d0665ee68962acef6936e063f4baadc1930.tar.bz2
slixmpp-06358d0665ee68962acef6936e063f4baadc1930.tar.xz
slixmpp-06358d0665ee68962acef6936e063f4baadc1930.zip
Use CallbackCoroutine with Iq callbacks too
Diffstat (limited to 'slixmpp/xmlstream')
-rw-r--r--slixmpp/xmlstream/xmlstream.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index 573ca829..959169d1 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -489,6 +489,7 @@ class XMLStream(asyncio.BaseProtocol):
ssl_connect_routine = loop.create_connection(lambda: self, ssl=self.ssl_context,
sock=self.socket,
server_hostname=self.address[0])
+ @asyncio.coroutine
def ssl_coro():
try:
transp, prot = yield from ssl_connect_routine