[jhbuild/release-team-commands] [goalreport] add the possibility of an header note for checks
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild/release-team-commands] [goalreport] add the possibility of an header note for checks
- Date: Tue, 5 May 2009 08:56:00 -0400 (EDT)
commit 96c8fa7c26ff3232680235fbf4c22ba54911beec
Author: Frederic Peters <fpeters 0d be>
Date: Tue May 5 14:55:04 2009 +0200
[goalreport] add the possibility of an header note for checks
---
jhbuild/commands/goalreport.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index 36af72f..92793ad 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -114,6 +114,8 @@ class CouldNotPerformCheckException(Exception):
class Check:
+ header_note = None
+
complexity = 'average'
status = 'dunno'
result_comment = None
@@ -375,6 +377,11 @@ class cmd_goalreport(Command):
for check in self.checks:
print >> output, '<th>%s</th>' % check.__name__
print >> output, '<td></td></tr>'
+ if [x for x in self.checks if x.header_note]:
+ print >> output, '<tr><td></td>'
+ for check in self.checks:
+ print >> output, '<td>%s</td>' % (check.header_note or '')
+ print >> output, '</tr>'
print >> output, '</thead>'
print >> output, '<tbody>'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]