diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-08-16 22:37:29 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-09-01 02:47:15 +0200 |
commit | 882f984b2622a6e44cce5401b8673760f559f718 (patch) | |
tree | e5193703478d41027e074359b47d6835c993000d /examples/custom_stanzas | |
parent | 6175cbcd99f917b08646d130770a132458056249 (diff) | |
download | slixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.gz slixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.bz2 slixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.xz slixmpp-882f984b2622a6e44cce5401b8673760f559f718.zip |
Remove (usually) useless comments in examples about OpenFire and how to verify a certificate.
Diffstat (limited to 'examples/custom_stanzas')
-rwxr-xr-x | examples/custom_stanzas/custom_stanza_provider.py | 7 | ||||
-rwxr-xr-x | examples/custom_stanzas/custom_stanza_user.py | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/examples/custom_stanzas/custom_stanza_provider.py b/examples/custom_stanzas/custom_stanza_provider.py index cfc8335d..fc04bdd4 100755 --- a/examples/custom_stanzas/custom_stanza_provider.py +++ b/examples/custom_stanzas/custom_stanza_provider.py @@ -135,13 +135,6 @@ if __name__ == '__main__': xmpp.register_plugin('xep_0050') # Adhoc Commands xmpp.register_plugin('xep_0199', {'keepalive': True, 'frequency':15}) - # If you are working with an OpenFire server, you may need - # to adjust the SSL version used: - # xmpp.ssl_version = ssl.PROTOCOL_SSLv3 - - # If you want to verify the SSL certificates offered by a server: - # xmpp.ca_certs = "path/to/ca/cert" - # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() xmpp.process() diff --git a/examples/custom_stanzas/custom_stanza_user.py b/examples/custom_stanzas/custom_stanza_user.py index 891eb72b..95837106 100755 --- a/examples/custom_stanzas/custom_stanza_user.py +++ b/examples/custom_stanzas/custom_stanza_user.py @@ -142,13 +142,6 @@ if __name__ == '__main__': xmpp.register_plugin('xep_0004') # Data Forms xmpp.register_plugin('xep_0050') # Adhoc Commands - # If you are working with an OpenFire server, you may need - # to adjust the SSL version used: - # xmpp.ssl_version = ssl.PROTOCOL_SSLv3 - - # If you want to verify the SSL certificates offered by a server: - # xmpp.ca_certs = "path/to/ca/cert" - # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() xmpp.process() |