From 4b8cc42f187c422766dcc0b53ced24e337224d78 Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@lothar.com> Date: Fri, 20 Feb 2009 12:29:22 -0700 Subject: [PATCH] web/check_results: sort share identifiers in the sharemap display --- src/allmydata/web/check_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] ]) -- 2.45.2