mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-12 05:09:59 +00:00
Comment on duplication of code/markup found during styling project.
This commit is contained in:
parent
d0b4fd4689
commit
3e80676a29
@ -109,6 +109,8 @@ class ResultsBase:
|
||||
sharemap = []
|
||||
servers = {}
|
||||
|
||||
# FIXME: The two tables below contain nickname-and-nodeid table column markup which is duplicated with each other, introducer.xhtml, and deep-check-results.xhtml. All of these (and any other presentations of nickname-and-nodeid) should be combined.
|
||||
|
||||
for shareid in sorted(data["sharemap"].keys()):
|
||||
serverids = data["sharemap"][shareid]
|
||||
for i,serverid in enumerate(serverids):
|
||||
|
@ -64,6 +64,7 @@ class IntroducerRoot(rend.Page):
|
||||
|
||||
return simplejson.dumps(res, indent=1) + "\n"
|
||||
|
||||
# FIXME: This code is duplicated in root.py and introweb.py.
|
||||
def data_version(self, ctx, data):
|
||||
return get_package_versions_string()
|
||||
def data_import_path(self, ctx, data):
|
||||
|
@ -177,6 +177,7 @@ class Root(rend.Page):
|
||||
child_report_incident = IncidentReporter()
|
||||
#child_server # let's reserve this for storage-server-over-HTTP
|
||||
|
||||
# FIXME: This code is duplicated in root.py and introweb.py.
|
||||
def data_version(self, ctx, data):
|
||||
return get_package_versions_string()
|
||||
def data_import_path(self, ctx, data):
|
||||
|
Loading…
x
Reference in New Issue
Block a user