diff options
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/__init__.py | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/libmat2/__init__.py b/libmat2/__init__.py index 07d3036..91a51d8 100644 --- a/libmat2/__init__.py +++ b/libmat2/__init__.py | |||
| @@ -1,6 +1,21 @@ | |||
| 1 | #!/bin/env python3 | 1 | #!/bin/env python3 |
| 2 | 2 | ||
| 3 | # A set of extension that aren't supported, despite matching a supported mimetype | 3 | # A set of extension that aren't supported, despite matching a supported mimetype |
| 4 | unsupported_extensions = set(['bat', 'c', 'h', 'ksh', 'pl', 'txt', 'asc', | 4 | unsupported_extensions = { |
| 5 | 'text', 'pot', 'brf', 'srt', 'rdf', 'wsdl', | 5 | '.asc', |
| 6 | 'xpdl', 'xsl', 'xsd']) | 6 | '.bat', |
| 7 | '.brf', | ||
| 8 | '.c', | ||
| 9 | '.h', | ||
| 10 | '.ksh', | ||
| 11 | '.pl', | ||
| 12 | '.pot', | ||
| 13 | '.rdf', | ||
| 14 | '.srt', | ||
| 15 | '.text', | ||
| 16 | '.txt', | ||
| 17 | '.wsdl', | ||
| 18 | '.xpdl', | ||
| 19 | '.xsd', | ||
| 20 | '.xsl', | ||
| 21 | } | ||
