changeset 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 065d20fb4691
children 169f0373fbd5
files bin/reportstatus.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/reportstatus.py	Tue Jan 13 16:58:02 2009 +0000
+++ b/bin/reportstatus.py	Tue Jan 13 16:58:28 2009 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/python2.4
-# Copyright (C) 2007, 2008 by Intevation GmbH
+# Copyright (C) 2007, 2008, 2009 by Intevation GmbH
 # Authors:
 # Bernhard Herzog <bh@intevation.de>
 #
@@ -37,7 +37,8 @@
         raise ValueError("Unknown sort field %r" % sort_on)
 
     for item in sorted:
-        print "%s %s: %s" % (item.name, item.revno, item.status.desc)
+        print "%s %s-%s: %s" % (item.name, item.revno, item.rulesrev,
+                                item.status.desc)
         print "    Start:", item.status.start
         print "     Stop:", item.status.stop
         print
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)