summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
authorSangeeth Saravanaraj <sangeeth@riptideio.com>2015-07-03 10:47:06 +0530
committerSangeeth Saravanaraj <sangeeth@riptideio.com>2015-07-03 10:47:06 +0530
commitf00177c0cf5512a86b37ba69fc627ddf92abdc6b (patch)
tree5d1bb0dba79c46000fe2d4603ace49ddd6cc0c96 /sleekxmpp/clientxmpp.py
parent9b25a7cf77b969a2cc923773855cb482c314b511 (diff)
downloadslixmpp-f00177c0cf5512a86b37ba69fc627ddf92abdc6b.tar.gz
slixmpp-f00177c0cf5512a86b37ba69fc627ddf92abdc6b.tar.bz2
slixmpp-f00177c0cf5512a86b37ba69fc627ddf92abdc6b.tar.xz
slixmpp-f00177c0cf5512a86b37ba69fc627ddf92abdc6b.zip
Added **kwargs to ClientXMPP, BaseXMPP and XMLStream so that certfile, keyfile and ca_certs can be initialized.
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 8db6ef17..31a5a70b 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -59,14 +59,15 @@ class ClientXMPP(BaseXMPP):
:param escape_quotes: **Deprecated.**
"""
- def __init__(self, jid, password, plugin_config=None, plugin_whitelist=None, escape_quotes=True, sasl_mech=None,
- lang='en'):
+ def __init__(self, jid, password, plugin_config=None,
+ plugin_whitelist=None, escape_quotes=True, sasl_mech=None,
+ lang='en', **kwargs):
if not plugin_whitelist:
plugin_whitelist = []
if not plugin_config:
plugin_config = {}
- BaseXMPP.__init__(self, jid, 'jabber:client')
+ BaseXMPP.__init__(self, jid, 'jabber:client', **kwargs)
self.escape_quotes = escape_quotes
self.plugin_config = plugin_config