mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
Make the class new style again on Python 2.
This commit is contained in:
parent
2c7dde9978
commit
c5b403bd2f
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user