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/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/ping.py') diff --git a/examples/ping.py b/examples/ping.py index 68772e6b..d2749894 100755 --- a/examples/ping.py +++ b/examples/ping.py @@ -129,7 +129,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/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/ping.py') diff --git a/examples/ping.py b/examples/ping.py index d2749894..d5622ffd 100755 --- a/examples/ping.py +++ b/examples/ping.py @@ -136,7 +136,7 @@ if __name__ == '__main__': # # if xmpp.connect(('talk.google.com', 5222)): # ... - xmpp.process(threaded=False) + xmpp.process(block=True) print("Done") else: print("Unable to connect.") -- cgit v1.2.3