summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-20 20:34:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-20 20:35:52 +0000
commit144f554dfde4133e949decbc2b41d881853cf943 (patch)
treee7a4be16ade54a7ee6ce8c688a224fadef84aa0e /bin
parent01ee9406e9606b925ad246a813e05d799142dcfc (diff)
download some unusual image mimetypes by default
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype7
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: