summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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)