mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 18:06:46 +00:00
immutable: make the web display of upload results more human-friendly, like they were before my recent change to the meaning of the "sharemap"
This commit is contained in:
parent
0f9c11cfde
commit
38bb3e464b
@ -47,9 +47,8 @@ class UploadResultsRendererMixin(RateAndTimeMixin):
|
|||||||
return "None"
|
return "None"
|
||||||
l = T.ul()
|
l = T.ul()
|
||||||
for shnum, peerids in sorted(sharemap.items()):
|
for shnum, peerids in sorted(sharemap.items()):
|
||||||
for peerid in peerids:
|
peerids = ', '.join([idlib.shortnodeid_b2a(i) for i in peerids])
|
||||||
peerid_s = idlib.shortnodeid_b2a(peerid)
|
l[T.li["%d -> placed on [%s]" % (shnum, peerids)]]
|
||||||
l[T.li["%d -> %s" % (shnum, peerid_s)]]
|
|
||||||
return l
|
return l
|
||||||
d.addCallback(_render)
|
d.addCallback(_render)
|
||||||
return d
|
return d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user