[jhbuild/release-team-commands] fix display of links to bugs and false positives sources
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild/release-team-commands] fix display of links to bugs and false positives sources
- Date: Fri, 15 May 2009 05:35:24 -0400 (EDT)
commit 553bf50a7ec4e0cdd849196ac2d074c4ff6b6699
Author: Frédéric Péters <fpeters 0d be>
Date: Fri May 15 11:30:51 2009 +0200
fix display of links to bugs and false positives sources
---
jhbuild/commands/goalreport.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index eca7a18..9b07ad5 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -462,12 +462,14 @@ class cmd_goalreport(Command):
print >> output, '</table>'
if (options.bugfile and options.bugfile.startswith('http://')) or \
- (options.false_positives and options.false_positives.startswith('http://')):
+ (options.falsepositivesfile and options.falsepositivesfile.startswith('http://')):
print >> output, '<div id="data">'
print >> output, '<p>The following data sources are used:</p>'
print >> output, '<ul>'
- print >> output, ' <li><a href="%s">Bugs</a></li>' % options.bugfile
- print >> output, ' <li><a href="%s">False positives</a></li>' % options.falsepositivesfile
+ if options.bugfile.startswith('http://'):
+ print >> output, ' <li><a href="%s">Bugs</a></li>' % options.bugfile
+ if options.falsepositivesfile.startswith('http://'):
+ print >> output, ' <li><a href="%s">False positives</a></li>' % options.falsepositivesfile
print >> output, '</ul>'
print >> output, '</div>'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]