view roundup/anypy/xmlrpc_.py @ 6020:aa26a260e81c

flake8 fixes: fix typoed variable; remove unused imports; format fixes fix typo: crypto_to type -> crypt_to other format fixes
author John Rouillard <rouilj@ieee.org>
date Thu, 02 Jan 2020 20:39:19 -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/