view roundup/anypy/xmlrpc_.py @ 6848:eafbd37354ab

don't pulll gpgme directly. also reduce runs to 3.10 and 2.7 during testing.
author John Rouillard <rouilj@ieee.org>
date Wed, 31 Aug 2022 21:58:38 -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/