view roundup/anypy/xmlrpc_.py @ 5515:cd0ceb2afdb8

fixed issue2550993 and added test case
author Christof Meerwald <cmeerw@cmeerw.org>
date Sun, 19 Aug 2018 15:11:05 +0100
parents e46ce04d5bbc
children db10c0a1f338
line wrap: on
line source

try:
    # Python 3+.
    from xmlrpc import client, server
except ImportError:
    # Python 2.
    import xmlrpclib as client
    import SimpleXMLRPCServer as server

Roundup Issue Tracker: http://roundup-tracker.org/