view roundup/anypy/xmlrpc_.py @ 7387:46f92ac4e170

- issue2551275 - Allow configuring max_children in roundup-server. new -m and --max_children command line arguments and max_children config file setting for roundup_server.py/roundup-server. CHANGES.txt, admin_guide.txt, roundup-server.1 updated.
author John Rouillard <rouilj@ieee.org>
date Tue, 23 May 2023 23:34:06 -0400
parents 99d4fb22aa65
children 7b33365ccb2a
line wrap: on
line source

try:
    # Python 3+.
    from xmlrpc import client, server
    server.SimpleXMLRPCDispatcher
except (ImportError, AttributeError):
    # Python 2.
    import xmlrpclib as client  # noqa: F401
    import SimpleXMLRPCServer as server

Roundup Issue Tracker: http://roundup-tracker.org/