Remove unused render_timeline_link()

As it turns out, nothing is using this method.
This commit is contained in:
Sajith Sasidharan 2020-05-14 12:59:06 -04:00
parent f3edc8a48c
commit 1f1f3b5f61

View File

@ -529,10 +529,6 @@ class DownloadStatusElement(Element, DownloadResultsRendererMixin):
return ""
return "+%.6fs" % t
def render_timeline_link(self, ctx, data):
from nevow import url
return T.a(href=url.URL.fromContext(ctx).child("timeline"))["timeline"]
def _rate_and_time(self, bytes, seconds):
time_s = abbreviate_time(seconds)
if seconds != 0: