[jhbuild/release-team-commands] [goalreport] do not abort on download error of bugs or false positives
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild/release-team-commands] [goalreport] do not abort on download error of bugs or false positives
- Date: Tue, 5 May 2009 08:55:55 -0400 (EDT)
commit c3847d119a9dba80a26c264769d89ce0a93d13a9
Author: Frederic Peters <fpeters 0d be>
Date: Tue May 5 14:12:50 2009 +0200
[goalreport] do not abort on download error of bugs or false positives
---
jhbuild/commands/goalreport.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index cdecf14..36af72f 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -23,6 +23,7 @@ import sys
import subprocess
import types
import cPickle
+import logging
from optparse import make_option
try:
from cStringIO import StringIO
@@ -561,7 +562,8 @@ class cmd_goalreport(Command):
try:
filename = httpcache.load(filename, age=0)
except Exception, e:
- raise FatalError(_('could not download %s: %s') % (filename, e))
+ logging.warning('could not download %s: %s' % (filename, e))
+ return
for line in file(filename):
line = line.strip()
if not line:
@@ -592,7 +594,8 @@ class cmd_goalreport(Command):
try:
filename = httpcache.load(filename, age=0)
except Exception, e:
- raise FatalError(_('could not download %s: %s') % (filename, e))
+ logging.warning('could not download %s: %s' % (filename, e))
+ return
for line in file(filename):
line = line.strip()
if not line:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]