projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f9c11c
)
immutable: make the web display of upload results more human-friendly, like they...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Sat, 10 Jan 2009 21:02:09 +0000
(14:02 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Sat, 10 Jan 2009 21:02:09 +0000
(14:02 -0700)
src/allmydata/web/status.py
patch
|
blob
|
history
diff --git
a/src/allmydata/web/status.py
b/src/allmydata/web/status.py
index 9f508813d9ecaa90e0af9445450abee08b60427c..01bfa284dfa76254300c1fb154c9a20802d3db95 100644
(file)
--- a/
src/allmydata/web/status.py
+++ b/
src/allmydata/web/status.py
@@
-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