mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 07:31:07 +00:00
Add comments to DownloadStatusPage
This commit is contained in:
parent
e0241655e5
commit
7e02502268
@ -490,8 +490,12 @@ class _EventJson(Resource, object):
|
||||
|
||||
|
||||
class DownloadStatusPage(MultiFormatResource):
|
||||
"""Renders /status/down-%d."""
|
||||
|
||||
def __init__(self, download_status):
|
||||
"""
|
||||
:param IDownloadStatus download_status: stats provider
|
||||
"""
|
||||
super(DownloadStatusPage, self).__init__()
|
||||
self._download_status = download_status
|
||||
self.putChild("event_json", _EventJson(self._download_status))
|
||||
|
Loading…
Reference in New Issue
Block a user