Mercurial > p > roundup > code
view roundup/anypy/xmlrpc_.py @ 5740:abbea26a11df
Clean up pylint reports of unused modules, duplicate imports, indent
issues, relative import, extra ';', unneeded pass.
Also added support for TypeError as I restructured accept header
parsing a bit to remove uneeded "version" variable assignments
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 28 May 2019 21:03:41 -0400 |
| parents | db10c0a1f338 |
| children | 99d4fb22aa65 |
line wrap: on
line source
try: # Python 3+. from xmlrpc import client, server server.SimpleXMLRPCDispatcher except (ImportError, AttributeError): # Python 2. import xmlrpclib as client import SimpleXMLRPCServer as server
