From c96de2c4ed6c4cf46a1bf7ed7ce868c5de2e18e5 Mon Sep 17 00:00:00 2001 From: hab <_@habnab.it> Date: Wed, 14 Aug 2019 10:47:14 +0100 Subject: [PATCH] Remove unused methods. --- src/allmydata/web/introweb.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/allmydata/web/introweb.py b/src/allmydata/web/introweb.py index fbe35825c..76bb93b31 100644 --- a/src/allmydata/web/introweb.py +++ b/src/allmydata/web/introweb.py @@ -75,16 +75,6 @@ class IntroducerRootElement(Element): def node_data(self, req, tag): return tag.fillSlots(**self.node_data_dict) - # FIXME: This code is duplicated in root.py and introweb.py. - def data_rendered_at(self, ctx, data): - return render_time(time.time()) - def data_version(self, ctx, data): - return get_package_versions_string() - def data_import_path(self, ctx, data): - return str(allmydata).replace("/", "/ ") - def data_my_nodeid(self, ctx, data): - return idlib.nodeid_b2a(self.introducer_node.nodeid) - @renderer def announcement_summary(self, req, data): services = {}