view roundup/anypy/xmlrpc_.py @ 5488:52cb53eedf77

reworked random number use prefer secrets module from Python 3.6+, random.SystemRandom and finally plain random
author Christof Meerwald <cmeerw@cmeerw.org>
date Sat, 04 Aug 2018 22:40:16 +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/