aboutsummaryrefslogtreecommitdiffstats
path: root/data/check-mime.py
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-05-16 05:41:24 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-05-16 05:41:24 +0800
commit9e46b8f13281f853f1c6ec38a6046b8ed8e63b66 (patch)
treef4c8e9b4606a5ae96aa4e476716025596f652f44 /data/check-mime.py
parent26c0657a5dbb31e1e380645dffef2f71adcfe566 (diff)
downloadgsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar.gz
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.tar.zst
gsoc2013-epiphany-9e46b8f13281f853f1c6ec38a6046b8ed8e63b66.zip
Update mime type list. check-mime.py now catches aliases from
2005-05-15 Jean-François Rameau <jframeau@cvs.gnome.org> * data/check-mime.py: * data/mime-types-permissions.xml: Update mime type list. check-mime.py now catches aliases from freedesktop.org.xml mime type database.
Diffstat (limited to 'data/check-mime.py')
-rwxr-xr-xdata/check-mime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/check-mime.py b/data/check-mime.py
index db87484f1..56a133af8 100755
--- a/data/check-mime.py
+++ b/data/check-mime.py
@@ -25,7 +25,7 @@ def PrintIfAbsent(elements, elem):
def ExtractTypes():
dbdom = parse(dbfile)
permissiondom = parse(permissionfile);
- dbelements = dbdom.getElementsByTagName("mime-type");
+ dbelements = dbdom.getElementsByTagName("mime-type") + dbdom.getElementsByTagName("alias")
permissionelements = permissiondom.getElementsByTagName("mime-type");
print ("New types:");
print ("----------\n");