[Piuparts-commits] rev 604 - trunk
Holger Levsen
holger at alioth.debian.org
Tue Dec 29 11:42:59 UTC 2009
Author: holger
Date: 2009-12-29 11:42:58 +0000 (Tue, 29 Dec 2009)
New Revision: 604
Modified:
trunk/piuparts-report.py
Log:
fix syntax errror
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-12-29 11:19:33 UTC (rev 603)
+++ trunk/piuparts-report.py 2009-12-29 11:42:58 UTC (rev 604)
@@ -860,8 +860,8 @@
f.close()
if state == "failed-testing":
substats = "fail: %s bugged: %s</li>" % (
- analysis.split("/fail/").length/2 - 1,
- analysis.split("/bugged/").length/2 - 1,
+ len(analysis.split("/fail/"))/2 - 1,
+ len(analysis.split("/bugged/"))/2 - 1,
)
else:
substats = ""
More information about the Piuparts-commits
mailing list