[jhbuild/release-team-commands] keep URIs to bugs and false positives clean
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild/release-team-commands] keep URIs to bugs and false positives clean
- Date: Fri, 15 May 2009 04:24:54 -0400 (EDT)
commit 2a3a225a0030d3146bbcdfca2655f047dcf54548
Author: Frédéric Péters <fpeters 0d be>
Date: Fri May 15 10:24:11 2009 +0200
keep URIs to bugs and false positives clean
---
jhbuild/commands/goalreport.py | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index e0eabee..e42e330 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -290,14 +290,6 @@ class cmd_goalreport(Command):
if not self.checks:
self.load_checks_from_options(options.checks)
- if options.bugfile.startswith('http://live.gnome.org') and \
- not options.bugfile.endswith('?action=raw'):
- options.bugfile += '?action=raw'
-
- if options.falsepositivesfile.startswith('http://live.gnome.org') and \
- not options.falsepositivesfile.endswith('?action=raw'):
- options.falsepositivesfile += '?action=raw'
-
self.load_bugs(options.bugfile)
self.load_false_positives(options.falsepositivesfile)
@@ -577,6 +569,8 @@ class cmd_goalreport(Command):
if not filename:
return
if filename.startswith('http://'):
+ if filename.startswith('http://live.gnome.org') and not filename.endswith('?action=raw'):
+ filename += '?action=raw'
try:
filename = httpcache.load(filename, age=0)
except Exception, e:
@@ -616,6 +610,8 @@ class cmd_goalreport(Command):
if not filename:
return
if filename.startswith('http://'):
+ if filename.startswith('http://live.gnome.org') and not filename.endswith('?action=raw'):
+ filename += '?action=raw'
try:
filename = httpcache.load(filename, age=0)
except Exception, e:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]