mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-13 16:29:51 +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):
|
class DownloadStatusPage(MultiFormatResource):
|
||||||
|
"""Renders /status/down-%d."""
|
||||||
|
|
||||||
def __init__(self, download_status):
|
def __init__(self, download_status):
|
||||||
|
"""
|
||||||
|
:param IDownloadStatus download_status: stats provider
|
||||||
|
"""
|
||||||
super(DownloadStatusPage, self).__init__()
|
super(DownloadStatusPage, self).__init__()
|
||||||
self._download_status = download_status
|
self._download_status = download_status
|
||||||
self.putChild("event_json", _EventJson(self._download_status))
|
self.putChild("event_json", _EventJson(self._download_status))
|
||||||
|
Loading…
Reference in New Issue
Block a user