mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-10 23:12:40 +00:00
Remove some whitespace
This commit is contained in:
parent
d6ea30b935
commit
81216f18bf
@ -26,7 +26,7 @@ class FakeDownloadResults(object):
|
||||
self.servers_used = ["s-1", "s-2", "s-3"]
|
||||
self.server_problems = {"s-1": "unknown problem"}
|
||||
self.servermap = {"s-1": [1,2,3], "s-2": [2,3,4], "s-3": [0,1,3]}
|
||||
self.timings = { "fetch_per_server": {"s-1": [1,2,3], "s-2": [2], "s-3": [3]}}
|
||||
self.timings = {"fetch_per_server": {"s-1": [1,2,3], "s-2": [2], "s-3": [3]}}
|
||||
|
||||
|
||||
@implementer(IDownloadStatus)
|
||||
|
@ -670,10 +670,8 @@ class DownloadStatusElement(Element):
|
||||
@renderer
|
||||
def servers_used(self, req, tag):
|
||||
servers_used = self.download_results().servers_used
|
||||
|
||||
if not servers_used:
|
||||
return ""
|
||||
|
||||
peerids_s = ", ".join(["[%s]" % idlib.shortnodeid_b2a(peerid)
|
||||
for peerid in servers_used])
|
||||
return tags.li("Servers Used: ", peerids_s)
|
||||
|
Loading…
Reference in New Issue
Block a user