[Piuparts-commits] rev 664 - trunk

Holger Levsen holger at alioth.debian.org
Sun Feb 28 11:09:22 UTC 2010


Author: holger
Date: 2010-02-28 11:09:14 +0000 (Sun, 28 Feb 2010)
New Revision: 664

Modified:
   trunk/piuparts-report.py
Log:
(un)owned (files/directories) and symlink issues should only be reported in sid

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2010-02-27 21:36:02 UTC (rev 663)
+++ trunk/piuparts-report.py	2010-02-28 11:09:14 UTC (rev 664)
@@ -878,7 +878,10 @@
     def create_and_link_to_analysises(self,state):
         link="<ul>"
         for template, linktarget in linktarget_by_template.iteritems():
+          # sucessful logs only have issues and failed logs only have errors
+          # and "(un)owned (files/directories)" and symlink issues should only be reported in sid
           if (state == "failed-testing" and template[-9:] != "issue.tpl") or (state == "successfully-tested" and template[-9:] == "issue.tpl"):
+           if self._config.section == "sid" or ("owned" not in linktarget and "symlink" not in linktarget):
             substats = ""
 
             tpl = os.path.join(self._output_directory, template)




More information about the Piuparts-commits mailing list