view roundup/anypy/xmlrpc_.py @ 6011:8bd93c8e98a6

Flake8 cleanup. remove unused imports; formatting fixes. Also #noqa some one liners of the form: if boolean_expression: command
author John Rouillard <rouilj@ieee.org>
date Tue, 31 Dec 2019 21:28:27 -0500
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/