diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 20:34:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 20:35:52 +0000 |
commit | 144f554dfde4133e949decbc2b41d881853cf943 (patch) | |
tree | e7a4be16ade54a7ee6ce8c688a224fadef84aa0e /bin | |
parent | 01ee9406e9606b925ad246a813e05d799142dcfc (diff) |
download some unusual image mimetypes by default
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 7 |
1 files changed, 4 insertions, 3 deletions
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: |