diff options
author | Sangeeth Saravanaraj <sangeeth@riptideio.com> | 2015-07-03 10:47:06 +0530 |
---|---|---|
committer | Sangeeth Saravanaraj <sangeeth@riptideio.com> | 2015-07-03 10:47:06 +0530 |
commit | f00177c0cf5512a86b37ba69fc627ddf92abdc6b (patch) | |
tree | 5d1bb0dba79c46000fe2d4603ace49ddd6cc0c96 /sleekxmpp/basexmpp.py | |
parent | 9b25a7cf77b969a2cc923773855cb482c314b511 (diff) | |
download | slixmpp-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/basexmpp.py')
-rw-r--r-- | sleekxmpp/basexmpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index 8cd61b63..cb72b9bd 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -55,8 +55,8 @@ class BaseXMPP(XMLStream): is used during initialization. """ - def __init__(self, jid='', default_ns='jabber:client'): - XMLStream.__init__(self) + def __init__(self, jid='', default_ns='jabber:client', **kwargs): + XMLStream.__init__(self, **kwargs) self.default_ns = default_ns self.stream_ns = 'http://etherx.jabber.org/streams' |