From 144f554dfde4133e949decbc2b41d881853cf943 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 20 Mar 2012 20:34:45 +0000 Subject: download some unusual image mimetypes by default --- bin/get-bugzilla-attachments-by-mimetype | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (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 bfff9e30fcf6..0b1806085002 100755 --- a/bin/get-bugzilla-attachments-by-mimetype +++ b/bin/get-bugzilla-attachments-by-mimetype @@ -207,10 +207,13 @@ mimetypes = [ ('application/x-starwriter', 'sdw'), ('application/vnd.stardivision.writer', 'sdw5'), ('application/vnd.stardivision.writer-global', 'sgl5'), +# unusual image mimetypes + ('image/cgm', 'cgm'), + ('image/x-targa', 'tga'), ] # disabled for now, this would download gigs of pngs/jpegs... -image_mimetypes = [ +common_image_mimetypes = [ # graphics ('image/svg+xml', 'svg'), ('image/x-MS-bmp', 'bmp'), @@ -229,7 +232,6 @@ image_mimetypes = [ ('image/x-cmu-raster', 'ras'), ('image/x-sgf', 'sgf'), ('image/x-svm', 'svm'), - ('image/x-targa', 'tga'), ('image/tiff', 'tiff'), ('image/x-wmf', 'wmf'), ('image/x-xbitmap', 'xbm'), @@ -237,7 +239,6 @@ image_mimetypes = [ ('image/gif', 'gif'), ('image/jpeg', 'jpeg'), ('image/png', 'png'), - ('image/cgm', 'cgm'), ] for (mimetype,extension) in mimetypes: -- cgit