view roundup/anypy/xmlrpc_.py @ 5473:3afda04c96a1

mailer string encoding fixes
author Christof Meerwald <cmeerw@cmeerw.org>
date Sun, 29 Jul 2018 01:31:48 +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/