From 1f1f3b5f6100b94122ce01f5bcb669a4b42f7b33 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Thu, 14 May 2020 12:59:06 -0400 Subject: [PATCH] Remove unused render_timeline_link() As it turns out, nothing is using this method. --- src/allmydata/web/status.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/allmydata/web/status.py b/src/allmydata/web/status.py index 209a01317..b6d8b18e4 100644 --- a/src/allmydata/web/status.py +++ b/src/allmydata/web/status.py @@ -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: