mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-16 19:33:44 +00:00
Fixed jabber xmlrpc call with the new settings system
This commit is contained in:
@@ -11,8 +11,7 @@ class JabberService(BaseService):
|
|||||||
'jabber_server': 'dredd.it',
|
'jabber_server': 'dredd.it',
|
||||||
'jabber_xmlrpc_url': 'http://127.0.0.1:4560' }
|
'jabber_xmlrpc_url': 'http://127.0.0.1:4560' }
|
||||||
|
|
||||||
@staticmethod
|
def exec_xmlrpc(self, func, **kwargs):
|
||||||
def exec_xmlrpc(func, **kwargs):
|
|
||||||
""" Send a XMLRPC request """
|
""" Send a XMLRPC request """
|
||||||
server = xmlrpclib.Server(self.settings['jabber_xmlrpc_url'])
|
server = xmlrpclib.Server(self.settings['jabber_xmlrpc_url'])
|
||||||
params = {}
|
params = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user