diff options
author | David Tardon <dtardon@redhat.com> | 2013-12-13 09:29:58 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-12-13 09:34:57 +0100 |
commit | af8191d2fa6bc7fce9020fd75c44c78d87cc1d75 (patch) | |
tree | 2659e09e8be15adb925932bedb66a9d2ccc5b835 /bin | |
parent | 735dc598cd38c76aeeaa37df57f1d0018fe294c8 (diff) |
do not download html files from moz bz
Change-Id: I18519dd8ad0bdaac55a1d5bccdc30b943d717c9c
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype index 4aed0e65ade8..d9e03e50ffe7 100755 --- a/bin/get-bugzilla-attachments-by-mimetype +++ b/bin/get-bugzilla-attachments-by-mimetype @@ -448,6 +448,11 @@ common_noncore_mimetypes = { for (prefix, uri) in rss_bugzillas.items(): for (mimetype,extension) in mimetypes.items(): + # It seems that bugzilla has problems returing that many results + # (10000 results is probably a limit set somewhere) so we always + # end processing the complete list. + if mimetype == 'text/html' and prefix == 'moz': + continue get_through_rss_query(uri, mimetype, prefix, extension) for (mimetype,extension) in mimetypes.items(): |