view roundup/anypy/xmlrpc_.py @ 7671:2fc2b14edbf7

doc: add -it to docker command for running trivy It makes the progress bar display correctly.
author John Rouillard <rouilj@ieee.org>
date Tue, 24 Oct 2023 09:32: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/