From 2dc230a68b8a614cc31130177496fdfae568abf6 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Fri, 30 Dec 2011 00:08:05 -0200 Subject: Replace pydns with dnspython in the comments of the examples. --- examples/disco_browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/disco_browser.py') diff --git a/examples/disco_browser.py b/examples/disco_browser.py index 0526bfc4..628add1c 100755 --- a/examples/disco_browser.py +++ b/examples/disco_browser.py @@ -188,7 +188,7 @@ if __name__ == '__main__': # Connect to the XMPP server and start processing XMPP stanzas. if xmpp.connect(): - # If you do not have the pydns library installed, you will need + # If you do not have the dnspython library installed, you will need # to manually specify the name of the server if it does not match # the one in the JID. For example, to use Google Talk you would # need to use: -- cgit v1.2.3 From 8cafa8578f35aa96205b7c163ba9c272ca27a1b5 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Fri, 30 Dec 2011 17:25:03 -0200 Subject: Update examples to use the block'' argument instead of the deprecated threaded''. --- examples/disco_browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/disco_browser.py') diff --git a/examples/disco_browser.py b/examples/disco_browser.py index 628add1c..6023dd7e 100755 --- a/examples/disco_browser.py +++ b/examples/disco_browser.py @@ -195,6 +195,6 @@ if __name__ == '__main__': # # if xmpp.connect(('talk.google.com', 5222)): # ... - xmpp.process(threaded=False) + xmpp.process(block=True) else: print("Unable to connect.") -- cgit v1.2.3