Make DownloadStatus an object

PythonTwoRegressions.test_new_style_classes would be unhappy without
this.
This commit is contained in:
Sajith Sasidharan 2020-06-23 20:51:26 -04:00
parent 36ecd8f384
commit 00e852c465

View File

@ -366,7 +366,7 @@ class _EventJson(Resource, object):
return json.dumps(data, indent=1) + "\n"
class DownloadStatusPage(Resource):
class DownloadStatusPage(Resource, object):
"""Renders /status/down-%d."""
def __init__(self, download_status):