view roundup/anypy/xmlrpc_.py @ 6111:2a513a057691

Fix transitive property check in REST API Checking Search permissin on a displayed property is wrong, we now check *View* Permission on each component of a transitive prop.
author Ralf Schlatterbeck <rsc@runtux.com>
date Fri, 28 Feb 2020 11:47:40 +0100
parents 99d4fb22aa65
children 7b33365ccb2a
line wrap: on
line source

try:
    # Python 3+.
    from xmlrpc import client, server
    server.SimpleXMLRPCDispatcher
except (ImportError, AttributeError):
    # Python 2.
    import xmlrpclib as client  # noqa: F401
    import SimpleXMLRPCServer as server

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