diff options
author | mathieui <mathieui@mathieui.net> | 2015-02-28 13:34:52 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-02-28 19:02:35 +0100 |
commit | bf5d7c83af320b7af629857aab7060302abfabf5 (patch) | |
tree | 548e088aae38c780300b7f10fc7eec092db33a1a /slixmpp/__init__.py | |
parent | c66a4d4097a249efc029b761d6150378a54bf702 (diff) | |
download | slixmpp-bf5d7c83af320b7af629857aab7060302abfabf5.tar.gz slixmpp-bf5d7c83af320b7af629857aab7060302abfabf5.tar.bz2 slixmpp-bf5d7c83af320b7af629857aab7060302abfabf5.tar.xz slixmpp-bf5d7c83af320b7af629857aab7060302abfabf5.zip |
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.
Diffstat (limited to 'slixmpp/__init__.py')
-rw-r--r-- | slixmpp/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |