From bf5d7c83af320b7af629857aab7060302abfabf5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 28 Feb 2015 13:34:52 +0100 Subject: Change the API to make iq.send() always return a future remove coroutine_wrapper, add a future_wrapper (which is only needed when the result stanza can be cached). Update the documentation as well. --- slixmpp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slixmpp/__init__.py') diff --git a/slixmpp/__init__.py b/slixmpp/__init__.py index 7164846f..0730cc60 100644 --- a/slixmpp/__init__.py +++ b/slixmpp/__init__.py @@ -16,7 +16,7 @@ from slixmpp.xmlstream.stanzabase import ET, ElementBase, register_stanza_plugin from slixmpp.xmlstream.handler import * from slixmpp.xmlstream import XMLStream from slixmpp.xmlstream.matcher import * -from slixmpp.xmlstream.asyncio import asyncio, coroutine_wrapper +from slixmpp.xmlstream.asyncio import asyncio, future_wrapper from slixmpp.basexmpp import BaseXMPP from slixmpp.clientxmpp import ClientXMPP from slixmpp.componentxmpp import ComponentXMPP -- cgit v1.2.3