summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-05-02 17:54:50 +0200
committerMaxime Buquet <pep@bouah.net>2020-05-02 17:54:50 +0200
commitbf69698af1d0a7a892e510b8de543fb6e53736f0 (patch)
tree6469b68fea37af21f659a0fa30947375b694f0ec /examples
parentaa732b3c94b16c737f008c0c8d8d366fcea1e412 (diff)
parentd076cef023808c3c227c3131330e24245c278e92 (diff)
downloadslixmpp-bf69698af1d0a7a892e510b8de543fb6e53736f0.tar.gz
slixmpp-bf69698af1d0a7a892e510b8de543fb6e53736f0.tar.bz2
slixmpp-bf69698af1d0a7a892e510b8de543fb6e53736f0.tar.xz
slixmpp-bf69698af1d0a7a892e510b8de543fb6e53736f0.zip
Merge branch 'add-forever-false-examples' into 'master'
Add forever=False to some examples to make them terminate See merge request poezio/slixmpp!46
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/adhoc_user.py2
-rwxr-xr-xexamples/download_avatars.py2
-rwxr-xr-xexamples/migrate_roster.py2
-rwxr-xr-xexamples/ping.py2
-rwxr-xr-xexamples/roster_browser.py2
-rwxr-xr-xexamples/send_client.py2
-rwxr-xr-xexamples/set_avatar.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/adhoc_user.py b/examples/adhoc_user.py
index d86dc679..931ef71c 100755
--- a/examples/adhoc_user.py
+++ b/examples/adhoc_user.py
@@ -176,4 +176,4 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
- xmpp.process()
+ xmpp.process(forever=False)
diff --git a/examples/download_avatars.py b/examples/download_avatars.py
index 02591e3e..37733b01 100755
--- a/examples/download_avatars.py
+++ b/examples/download_avatars.py
@@ -159,4 +159,4 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
- xmpp.process()
+ xmpp.process(forever=False)
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)
diff --git a/examples/ping.py b/examples/ping.py
index 4492d4e0..7870715c 100755
--- a/examples/ping.py
+++ b/examples/ping.py
@@ -109,4 +109,4 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
- xmpp.process()
+ xmpp.process(forever=False)
diff --git a/examples/roster_browser.py b/examples/roster_browser.py
index 5e27e9a2..e9365d09 100755
--- a/examples/roster_browser.py
+++ b/examples/roster_browser.py
@@ -134,4 +134,4 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
- xmpp.process()
+ xmpp.process(forever=False)
diff --git a/examples/send_client.py b/examples/send_client.py
index 4ec33cfa..5d5fb810 100755
--- a/examples/send_client.py
+++ b/examples/send_client.py
@@ -107,4 +107,4 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
- xmpp.process()
+ xmpp.process(forever=False)
diff --git a/examples/set_avatar.py b/examples/set_avatar.py
index c356290d..3188e9d8 100755
--- a/examples/set_avatar.py
+++ b/examples/set_avatar.py
@@ -137,4 +137,4 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
- xmpp.process()
+ xmpp.process(forever=False)