Update examples to use the block'' argument instead of the deprecated threaded''.

This commit is contained in:
Rodolfo Carvalho
2011-12-30 17:25:03 -02:00
parent b74ea47650
commit 8cafa8578f
10 changed files with 10 additions and 10 deletions

View File

@@ -136,7 +136,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.")