comparison bin/reportstatus.py @ 237:15de52d55432

Show the rules revision in the reports generated by bin/reportstatus.py
author Bernhard Herzog <bh@intevation.de>
date Tue, 13 Jan 2009 16:58:28 +0000
parents cfeb0251055b
children 1fcdffbeb9de
comparison
equal deleted inserted replaced
236:065d20fb4691 237:15de52d55432
1 #! /usr/bin/python2.4 1 #! /usr/bin/python2.4
2 # Copyright (C) 2007, 2008 by Intevation GmbH 2 # Copyright (C) 2007, 2008, 2009 by Intevation GmbH
3 # Authors: 3 # Authors:
4 # Bernhard Herzog <bh@intevation.de> 4 # Bernhard Herzog <bh@intevation.de>
5 # 5 #
6 # This program is free software under the GPL (>=v2) 6 # This program is free software under the GPL (>=v2)
7 # Read the file COPYING coming with the software for details. 7 # Read the file COPYING coming with the software for details.
35 sorted = (row for start, row in report.revisions.sorted_by_startdate()) 35 sorted = (row for start, row in report.revisions.sorted_by_startdate())
36 else: 36 else:
37 raise ValueError("Unknown sort field %r" % sort_on) 37 raise ValueError("Unknown sort field %r" % sort_on)
38 38
39 for item in sorted: 39 for item in sorted:
40 print "%s %s: %s" % (item.name, item.revno, item.status.desc) 40 print "%s %s-%s: %s" % (item.name, item.revno, item.rulesrev,
41 item.status.desc)
41 print " Start:", item.status.start 42 print " Start:", item.status.start
42 print " Stop:", item.status.stop 43 print " Stop:", item.status.stop
43 print 44 print
44 45
45 def main(): 46 def main():
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)