summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-08-08 15:41:26 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-08-08 17:34:06 +0200
commit349b05b9b730a10baec1f75dee2db2bd2f9d0924 (patch)
tree85d0d201756a01887deeaed01509ce9a6d75aacf
parent9fbacf377a8aa53ef2d74a8a560b2a2f96d0ee22 (diff)
downloadslixmpp-349b05b9b730a10baec1f75dee2db2bd2f9d0924.tar.gz
slixmpp-349b05b9b730a10baec1f75dee2db2bd2f9d0924.tar.bz2
slixmpp-349b05b9b730a10baec1f75dee2db2bd2f9d0924.tar.xz
slixmpp-349b05b9b730a10baec1f75dee2db2bd2f9d0924.zip
Stop disco_browser and pubsub_client examples once they are finished.
-rwxr-xr-xexamples/disco_browser.py2
-rwxr-xr-xexamples/pubsub_client.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/disco_browser.py b/examples/disco_browser.py
index 783156b8..54f6c933 100755
--- a/examples/disco_browser.py
+++ b/examples/disco_browser.py
@@ -162,4 +162,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/pubsub_client.py b/examples/pubsub_client.py
index b379af95..faeeddf7 100755
--- a/examples/pubsub_client.py
+++ b/examples/pubsub_client.py
@@ -171,4 +171,4 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
- xmpp.process()
+ xmpp.process(forever=False)