Make the class new style again on Python 2.

This commit is contained in:
Itamar Turner-Trauring 2020-12-23 09:17:39 -05:00
parent 2c7dde9978
commit c5b403bd2f

View File

@ -48,7 +48,7 @@ DIR_HTML_TAG = '<html lang="en">'
class CompletelyUnhandledError(Exception):
pass
class ErrorBoom(resource.Resource):
class ErrorBoom(resource.Resource, object):
@render_exception
def render(self, req):
raise CompletelyUnhandledError("whoops")