Mercurial > treepkg
diff bin/reportstatus.py @ 145:123e9a5f31fa
Rework treepkg/report.py to prepare for other report types. Adapt
reportstatus.py and web-status.html.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 05 Jun 2008 10:36:10 +0000 |
parents | 9a602d8eaa60 |
children | cfeb0251055b |
line wrap: on
line diff
--- a/bin/reportstatus.py Mon Jun 02 17:44:19 2008 +0000 +++ b/bin/reportstatus.py Thu Jun 05 10:36:10 2008 +0000 @@ -1,5 +1,5 @@ #! /usr/bin/python2.4 -# Copyright (C) 2007 by Intevation GmbH +# Copyright (C) 2007, 2008 by Intevation GmbH # Authors: # Bernhard Herzog <bh@intevation.de> # @@ -22,7 +22,7 @@ def report_text(group): report = prepare_report(group) - for revno, row in report.revisions: + for revno, row in report.revisions.sorted_by_revision(): for col in row: if col: print "%s %s: %s" % (col.name, revno, col.status.desc)