Making salt/netapi/rest_cherrypy/event_processor python3 compatible