[Treepkg-commits] r163 - trunk/bin

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 13 17:58:28 CET 2009


Author: bh
Date: 2009-01-13 17:58:28 +0100 (Tue, 13 Jan 2009)
New Revision: 163

Modified:
   trunk/bin/reportstatus.py
Log:
Show the rules revision in the reports generated by bin/reportstatus.py


Modified: trunk/bin/reportstatus.py
===================================================================
--- trunk/bin/reportstatus.py	2009-01-13 16:58:02 UTC (rev 162)
+++ trunk/bin/reportstatus.py	2009-01-13 16:58:28 UTC (rev 163)
@@ -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 at 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



More information about the Treepkg-commits mailing list