view roundup/anypy/xmlrpc_.py @ 5767:75a13700d97e issue2551008

Add CHANGES.txt entry for issue2551008.
author Ezio Melotti <ezio.melotti@gmail.com>
date Wed, 05 Jun 2019 21:00:46 +0200
parents db10c0a1f338
children 99d4fb22aa65
line wrap: on
line source

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

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