Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def create_connection(self):
if self.__debug:
return JabberClient(self.jid.getDomain())
return JabberClient(self.jid.getDomain(), debug=[])
def create_connection(self):
if self.__debug:
return JabberClient(self.jid.getDomain())
return JabberClient(self.jid.getDomain(), debug=[])
def __init__(self, *args, **kwargs):
self.Namespace, self.DBG = 'jabber:client', DBG_CLIENT # DAAAAAAAAAAH -> see the CommonClient class, it introspects it descendents to determine that
super(JabberClient, self).__init__(*args, **kwargs)