From eaa97f9a66ec147afab9b44cabcb220d564d54ec Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 18 Apr 2012 09:05:05 +0100 Subject: continue in the face of adversary --- bin/get-bugzilla-attachments-by-mimetype | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype index 7c779579e6a4..c719fc33637f 100755 --- a/bin/get-bugzilla-attachments-by-mimetype +++ b/bin/get-bugzilla-attachments-by-mimetype @@ -159,7 +159,11 @@ def get_through_rss_query_url(url, mimetype, prefix, suffix): get_bug_function = get_novell_bug_via_xml if prefix == "novell" else get_from_bug_url_via_xml for entry in d['entries']: - get_bug_function(entry['id'], mimetype, prefix, suffix) + try: + get_bug_function(entry['id'], mimetype, prefix, suffix) + except: + print >> sys.stderr, entry['id'], "failed:", sys.exc_info()[0] + pass def get_through_rss_query(queryurl, mimetype, prefix, suffix): url = queryurl + '?query_format=advanced&field0-0-0=attachments.mimetype&type0-0-0=equals&value0-0-0=' + escape(mimetype) + '&ctype=rss' -- cgit