view roundup/anypy/xmlrpc_.py @ 5722:2f116ba7e7cf

Rename Store class in rate_limit.py to Gcra. The name Store makes no sense since the class implements a Gcra, I'll call it Gcra....
author John Rouillard <rouilj@ieee.org>
date Fri, 17 May 2019 19:45:15 -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/