Added more missing file extensions for the Python mimetypes module.

This commit is contained in:
Bastian Kleineidam 2010-03-01 16:13:57 +01:00
parent ae8a796fdd
commit 8f5bc190f8
1 changed files with 6 additions and 0 deletions
patoolib

View File

@ -32,6 +32,12 @@ mimedb.add_type('application/x-lzop', '.lzo', strict=False)
mimedb.add_type('application/x-arj', '.arj', strict=False)
mimedb.add_type('application/x-lzma', '.lzma', strict=False)
mimedb.add_type('application/x-xz', '.xz', strict=False)
mimedb.add_type('application/java-archive', '.jar', strict=False)
mimedb.add_type('application/x-rar', '.rar', strict=False)
mimedb.add_type('application/x-7z-compressed', '.7z', strict=False)
mimedb.add_type('application/x-cab', '.cab', strict=False)
mimedb.add_type('application/x-rpm', '.rpm', strict=False)
mimedb.add_type('application/x-debian-package', '.deb', strict=False)
class PatoolError (StandardError):