view roundup/anypy/xmlrpc_.py @ 7122:94a5a9e6f0d2

Fix traceback on integer order attribute, fix comment Ralf Schlatterbeck's commit cb39a6c95cd3 did not include hyperdb.Integer support. This commit adds it. Also fixes associated comment.
author John Rouillard <rouilj@ieee.org>
date Sat, 21 Jan 2023 12:52:24 -0500
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/