view roundup/anypy/xmlrpc_.py @ 7191:c6f85484d8a4

use redis rather than redis-server redis-server is an alias and I get an info message about it when looking at config scans.
author John Rouillard <rouilj@ieee.org>
date Mon, 27 Feb 2023 00:52:16 -0500
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/