From: Brian Warner Date: Fri, 20 Feb 2009 19:29:22 +0000 (-0700) Subject: web/check_results: sort share identifiers in the sharemap display X-Git-Tag: allmydata-tahoe-1.4.0~172 X-Git-Url: https://git.rkrishnan.org/vdrive/%5B/%5D%20/uri/pb.xhtml?a=commitdiff_plain;h=4b8cc42f187c422766dcc0b53ced24e337224d78;p=tahoe-lafs%2Ftahoe-lafs.git web/check_results: sort share identifiers in the sharemap display --- diff --git a/src/allmydata/web/check_results.py b/src/allmydata/web/check_results.py index eeb30709..ba639bfd 100644 --- a/src/allmydata/web/check_results.py +++ b/src/allmydata/web/check_results.py @@ -142,7 +142,7 @@ class ResultsBase: nickname = c.get_nickname_for_peerid(serverid) shareids = servers.get(serverid, []) shareids.reverse() - shareids_s = [ T.tt[shareid, " "] for shareid in shareids ] + shareids_s = [ T.tt[shareid, " "] for shareid in sorted(shareids) ] servermap.append(T.tr[T.td[T.tt[base32.b2a(serverid)], " (", nickname, ")"], T.td[shareids_s] ])