[Piuparts-commits] rev 615 - trunk

Holger Levsen holger at alioth.debian.org
Tue Dec 29 15:51:17 UTC 2009


Author: holger
Date: 2009-12-29 15:51:16 +0000 (Tue, 29 Dec 2009)
New Revision: 615

Modified:
   trunk/piuparts-report.py
Log:
bleh. fix counting of reports

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-12-29 15:41:39 UTC (rev 614)
+++ trunk/piuparts-report.py	2009-12-29 15:51:16 UTC (rev 615)
@@ -860,8 +860,8 @@
              }))
             f.close()
             if state == "failed-testing":
-              count_bugged = string.count(analysis,"/bugged/")-1 
-              count_failed = string.count(analysis,"/fail/")-1 
+              count_bugged = string.count(analysis,"/bugged/")
+              count_failed = string.count(analysis,"/fail/") 
               if count_bugged != 0 or count_failed != 0:
                 substats = ": "
               if count_bugged != 0:




More information about the Piuparts-commits mailing list