[jhbuild/release-team-commands] automatically get raw pages



commit 96f22eef4806f61abdd0ae249bcbac9e8c5f5b25
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri May 15 10:19:40 2009 +0200

    automatically get raw pages
---
 jhbuild/commands/goalreport.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index 62624bb..e0eabee 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -290,6 +290,14 @@ 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)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]