summaryrefslogtreecommitdiffstats
path: root/bin/get-bugzilla-attachments-by-mimetype
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-12-13 09:29:58 +0100
committerDavid Tardon <dtardon@redhat.com>2013-12-13 09:34:57 +0100
commitaf8191d2fa6bc7fce9020fd75c44c78d87cc1d75 (patch)
tree2659e09e8be15adb925932bedb66a9d2ccc5b835 /bin/get-bugzilla-attachments-by-mimetype
parenthandle Keynote package format too (diff)
downloadcore-af8191d2fa6bc7fce9020fd75c44c78d87cc1d75.tar.gz
core-af8191d2fa6bc7fce9020fd75c44c78d87cc1d75.zip
do not download html files from moz bz
Change-Id: I18519dd8ad0bdaac55a1d5bccdc30b943d717c9c
Diffstat (limited to 'bin/get-bugzilla-attachments-by-mimetype')
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype5
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():