view roundup/anypy/xmlrpc_.py @ 5690:4aae822e2cb4

Added a few comments and a test that fails with the pre-patched code and uses POST.
author John Rouillard <rouilj@ieee.org>
date Wed, 03 Apr 2019 07:04:29 -0400
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/