From c66a4d4097a249efc029b761d6150378a54bf702 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 24 Feb 2015 18:58:40 +0100 Subject: Update the documentation and examples - update most of the examples with slixmpp - change the help channels pointed out in the doc - add a page listing differences from slixmpp and how to use asyncio nicely with slixmpp - fix some in-code rst documentation --- examples/migrate_roster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/migrate_roster.py') diff --git a/examples/migrate_roster.py b/examples/migrate_roster.py index bd3bf7e6..e6c66f2e 100755 --- a/examples/migrate_roster.py +++ b/examples/migrate_roster.py @@ -103,5 +103,5 @@ def on_session2(event): new_xmpp.disconnect() new_xmpp.add_event_handler('session_start', on_session2) -if new_xmpp.connect(): - new_xmpp.process(block=True) +new_xmpp.connect() +new_xmpp.process() -- cgit v1.2.3