From 8cafa8578f35aa96205b7c163ba9c272ca27a1b5 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Fri, 30 Dec 2011 17:25:03 -0200 Subject: Update examples to use the block'' argument instead of the deprecated threaded''. --- examples/adhoc_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/adhoc_provider.py') diff --git a/examples/adhoc_provider.py b/examples/adhoc_provider.py index aaa9a6e7..4d4c3610 100755 --- a/examples/adhoc_provider.py +++ b/examples/adhoc_provider.py @@ -199,7 +199,7 @@ if __name__ == '__main__': # # if xmpp.connect(('talk.google.com', 5222)): # ... - xmpp.process(threaded=False) + xmpp.process(block=True) print("Done") else: print("Unable to connect.") -- cgit v1.2.3