From af8191d2fa6bc7fce9020fd75c44c78d87cc1d75 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 13 Dec 2013 09:29:58 +0100 Subject: do not download html files from moz bz Change-Id: I18519dd8ad0bdaac55a1d5bccdc30b943d717c9c --- bin/get-bugzilla-attachments-by-mimetype | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/get-bugzilla-attachments-by-mimetype') 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(): -- cgit