aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot2015-08-08 14:41:26 (GMT)
committerFlorent Le Coz2015-08-08 15:34:06 (GMT)
commit349b05b9b730a10baec1f75dee2db2bd2f9d0924 (patch)
tree85d0d201756a01887deeaed01509ce9a6d75aacf
parent9fbacf377a8aa53ef2d74a8a560b2a2f96d0ee22 (diff)
downloadslixmpp-349b05b9b730a10baec1f75dee2db2bd2f9d0924.tar.gz
slixmpp-349b05b9b730a10baec1f75dee2db2bd2f9d0924.tar.xz
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 783156b..54f6c93 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 b379af9..faeeddf 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)