l.s.m.m.xmlrpcrunner : module documentation

Part of lp.services.mailman.monkeypatches

XMLRPC runner for querying Launchpad.
Function get_mailing_list_api_proxy Undocumented
Function log_exception Write the current exception traceback into the Mailman log file.
Function handle_proxy_error Log the error and enqueue the message if needed.
Class XMLRPCRunner A Mailman 'queue runner' for talking to the Launchpad XMLRPC service.
def get_mailing_list_api_proxy():
Undocumented
def log_exception(message, *args):
Write the current exception traceback into the Mailman log file.

This is really just a convenience function for a refactored chunk of common code.

ParametersmessageThe message to appear in the xmlrpc and error logs. It may be a format string.
argsOptional arguments to be interpolated into a format string.
def handle_proxy_error(error, msg=None, msgdata=None):
Log the error and enqueue the message if needed.
ParameterserrorThe error to log.
msgAn optional Mailman.Message to re-enqueue.
msgdataThe message data to enque with the message.
RaisesDiscardMessageWhen a message is enqueued.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.