Mercurial > p > roundup > code
view roundup/anypy/xmlrpc_.py @ 5787:cbf2f2ea41d1
Replace deprecated failUnless and failIf with assertTrue and
asserFalse.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 10 Jun 2019 20:15:15 -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
