Fix and add a test for explicitly non-supported formats
This commit is contained in:
parent
633654376a
commit
e81ce6cd1a
2 changed files with 26 additions and 3 deletions
|
@ -1,6 +1,21 @@
|
|||
#!/bin/env python3
|
||||
|
||||
# A set of extension that aren't supported, despite matching a supported mimetype
|
||||
unsupported_extensions = set(['bat', 'c', 'h', 'ksh', 'pl', 'txt', 'asc',
|
||||
'text', 'pot', 'brf', 'srt', 'rdf', 'wsdl',
|
||||
'xpdl', 'xsl', 'xsd'])
|
||||
unsupported_extensions = {
|
||||
'.asc',
|
||||
'.bat',
|
||||
'.brf',
|
||||
'.c',
|
||||
'.h',
|
||||
'.ksh',
|
||||
'.pl',
|
||||
'.pot',
|
||||
'.rdf',
|
||||
'.srt',
|
||||
'.text',
|
||||
'.txt',
|
||||
'.wsdl',
|
||||
'.xpdl',
|
||||
'.xsd',
|
||||
'.xsl',
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue