mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +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"
|
||||
l = T.ul()
|
||||
for shnum, peerids in sorted(sharemap.items()):
|
||||
for peerid in peerids:
|
||||
peerid_s = idlib.shortnodeid_b2a(peerid)
|
||||
l[T.li["%d -> %s" % (shnum, peerid_s)]]
|
||||
peerids = ', '.join([idlib.shortnodeid_b2a(i) for i in peerids])
|
||||
l[T.li["%d -> placed on [%s]" % (shnum, peerids)]]
|
||||
return l
|
||||
d.addCallback(_render)
|
||||
return d
|
||||
|
Loading…
x
Reference in New Issue
Block a user