mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 18:22:40 +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):
|
class CompletelyUnhandledError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class ErrorBoom(resource.Resource):
|
class ErrorBoom(resource.Resource, object):
|
||||||
@render_exception
|
@render_exception
|
||||||
def render(self, req):
|
def render(self, req):
|
||||||
raise CompletelyUnhandledError("whoops")
|
raise CompletelyUnhandledError("whoops")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user