Mercurial > p > roundup > code
view roundup/anypy/xmlrpc_.py @ 5838:b74f0b50bef1
Fix CI deprication warning for HTMLParser convert_charrefs under py3.
/home/travis/build/roundup-tracker/roundup/roundup/dehtml.py:81:
DeprecationWarning: The value of convert_charrefs will become True in
3.5. You are encouraged to set the value explicitly.
parser = DumbHTMLParser()
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 06 Jul 2019 17:36:25 -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
