[Piuparts-commits] rev 616 - trunk
Holger Levsen
holger at alioth.debian.org
Tue Dec 29 17:48:20 UTC 2009
Author: holger
Date: 2009-12-29 17:48:19 +0000 (Tue, 29 Dec 2009)
New Revision: 616
Modified:
trunk/piuparts-report.py
Log:
yay internal variables
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-12-29 15:51:16 UTC (rev 615)
+++ trunk/piuparts-report.py 2009-12-29 17:48:19 UTC (rev 616)
@@ -846,7 +846,7 @@
tpl = os.path.join(self._output_directory, template)
f = file(tpl, "r")
- analysis = file.read(f)
+ rows = file.read(f)
f.close()
os.unlink(tpl)
@@ -856,12 +856,12 @@
f.write(htmlpage.safe_substitute( {
"section_navigation": create_section_navigation(self._section_names,self._config.section),
"time": time.strftime("%Y-%m-%d %H:%M %Z"),
- "rows": analysis,
+ "rows": rows,
}))
f.close()
if state == "failed-testing":
- count_bugged = string.count(analysis,"/bugged/")
- count_failed = string.count(analysis,"/fail/")
+ count_bugged = string.count(rows,"/bugged/")
+ count_failed = string.count(rows,"/fail/")
if count_bugged != 0 or count_failed != 0:
substats = ": "
if count_bugged != 0:
More information about the Piuparts-commits
mailing list