diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2011-12-30 17:25:03 -0200 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2011-12-30 17:25:03 -0200 |
commit | 8cafa8578f35aa96205b7c163ba9c272ca27a1b5 (patch) | |
tree | becae3b7b86a8352f76624b45b26ee8ed9a02e88 /examples/echo_component.py | |
parent | b74ea47650b8f75f30c367d038bdefb6bfee0711 (diff) | |
download | slixmpp-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/echo_component.py')
-rwxr-xr-x | examples/echo_component.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_component.py b/examples/echo_component.py index f569e001..d8bcd752 100755 --- a/examples/echo_component.py +++ b/examples/echo_component.py @@ -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.") |