From: W. Trevor King Date: Fri, 7 Aug 2009 17:53:26 +0000 (-0400) Subject: Sort bugs in HTML output. X-Git-Tag: 1.0.0~62^2~34^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ebe24ed296dd5b905e08ceecfbba62dd0f83b77a;p=be.git Sort bugs in HTML output. --- diff --git a/becommands/html.py b/becommands/html.py index 8bc570d..4bf43f4 100644 --- a/becommands/html.py +++ b/becommands/html.py @@ -62,7 +62,7 @@ def execute(args, test=False): bugs_inactive = [] for s in status_list: st[s] = 0 - for b in bd: + for b in sorted(bd, reverse=True): stime[b.uuid] = b.time if b.status in ["open", "test", "unconfirmed", "assigned"]: bugs_active.append(b)