summaryrefslogtreecommitdiff
path: root/examples/migrate_roster.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-02 17:34:11 +0200
committermathieui <mathieui@mathieui.net>2020-05-02 17:34:11 +0200
commitd076cef023808c3c227c3131330e24245c278e92 (patch)
treede81315370b0b3bed748f2282b4eaf17ab9d77c0 /examples/migrate_roster.py
parent0d3116dbdfa1325edfa71bf3c1fd9ea77c820396 (diff)
downloadslixmpp-d076cef023808c3c227c3131330e24245c278e92.tar.gz
slixmpp-d076cef023808c3c227c3131330e24245c278e92.tar.bz2
slixmpp-d076cef023808c3c227c3131330e24245c278e92.tar.xz
slixmpp-d076cef023808c3c227c3131330e24245c278e92.zip
Add forever=False to some examples to make them terminate
Diffstat (limited to 'examples/migrate_roster.py')
-rwxr-xr-xexamples/migrate_roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/migrate_roster.py b/examples/migrate_roster.py
index d599b10c..be457fb3 100755
--- a/examples/migrate_roster.py
+++ b/examples/migrate_roster.py
@@ -104,4 +104,4 @@ def on_session2(event):
new_xmpp.add_event_handler('session_start', on_session2)
new_xmpp.connect()
-new_xmpp.process()
+new_xmpp.process(forever=False)