Mercurial > p > roundup > code
view roundup/anypy/xmlrpc_.py @ 7687:4dda4a9dfe0b
doc: add comment on method to set savepoint_limit dynamically
savepoint_limit isn't a real config option as in config.ini. I
generate one on the fly for use in the backend during import.
While this is arguably a valid config option, it is also something
that is niche (import a tracker to postgres) and adds clutter to
config.ini.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 29 Oct 2023 13:18:36 -0400 |
| 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
