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

@@ -116,7 +116,7 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
if xmpp.connect():
xmpp.process(threaded=False)
xmpp.process(block=True)
print("Done")
else:
print("Unable to connect.")