diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-18 09:05:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-18 13:03:21 +0100 |
commit | eaa97f9a66ec147afab9b44cabcb220d564d54ec (patch) | |
tree | 236ab7e395f4bef530f953ecb662864abd5b4b3e /bin | |
parent | fc435133c36760f741eb62641fb6834faaf34032 (diff) |
continue in the face of adversary
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 6 |
1 files changed, 5 insertions, 1 deletions
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' |