summaryrefslogtreecommitdiff
path: root/examples/adhoc_provider.py
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2011-12-30 17:25:03 -0200
committerRodolfo Carvalho <rhcarvalho@gmail.com>2011-12-30 17:25:03 -0200
commit8cafa8578f35aa96205b7c163ba9c272ca27a1b5 (patch)
treebecae3b7b86a8352f76624b45b26ee8ed9a02e88 /examples/adhoc_provider.py
parentb74ea47650b8f75f30c367d038bdefb6bfee0711 (diff)
downloadslixmpp-8cafa8578f35aa96205b7c163ba9c272ca27a1b5.tar.gz
slixmpp-8cafa8578f35aa96205b7c163ba9c272ca27a1b5.tar.bz2
slixmpp-8cafa8578f35aa96205b7c163ba9c272ca27a1b5.tar.xz
slixmpp-8cafa8578f35aa96205b7c163ba9c272ca27a1b5.zip
Update examples to use the block'' argument instead of the deprecated threaded''.
Diffstat (limited to 'examples/adhoc_provider.py')
-rwxr-xr-xexamples/adhoc_provider.py2
1 files changed, 1 insertions, 1 deletions
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.")