diff options
| author | jvoisin | 2016-08-29 22:12:40 +0200 |
|---|---|---|
| committer | jvoisin | 2016-08-29 22:12:40 +0200 |
| commit | 64b667be5d6b36d17839482593ccf2207af14ac9 (patch) | |
| tree | 8ab14777fc5d6a8d9793c2a460ae9e4ea14c2909 /libmat/strippers.py | |
| parent | a3c289dea1ceebcc2e624d002ab31deb851a7e3a (diff) | |
Python3, now with less features
I want to release a new version ASAP, so lets ditch some features for
now.
Diffstat (limited to 'libmat/strippers.py')
| -rw-r--r-- | libmat/strippers.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libmat/strippers.py b/libmat/strippers.py index 2879375..4fcafe9 100644 --- a/libmat/strippers.py +++ b/libmat/strippers.py | |||
| @@ -1,21 +1,21 @@ | |||
| 1 | """ Manage which fileformat can be processed | 1 | """ Manage which fileformat can be processed |
| 2 | """ | 2 | """ |
| 3 | 3 | ||
| 4 | from libmat.archive import TarStripper, Bzip2Stripper, GzipStripper, ZipStripper | 4 | #from libmat.archive import TarStripper, Bzip2Stripper, GzipStripper, ZipStripper |
| 5 | from libmat import mutagenstripper, misc, office | 5 | from libmat import mutagenstripper, misc, office |
| 6 | from libmat.mat import LOGGING_LEVEL | 6 | from libmat.mat import LOGGING_LEVEL |
| 7 | import logging | 7 | import logging |
| 8 | import subprocess | 8 | import subprocess |
| 9 | 9 | ||
| 10 | STRIPPERS = { | 10 | STRIPPERS = { |
| 11 | 'application/x-tar': TarStripper, | 11 | #'application/x-tar': TarStripper, |
| 12 | 'application/x-bzip2': Bzip2Stripper, | 12 | #'application/x-bzip2': Bzip2Stripper, |
| 13 | 'application/x-gzip': GzipStripper, | 13 | #'application/x-gzip': GzipStripper, |
| 14 | 'application/zip': ZipStripper, | 14 | #'application/zip': ZipStripper, |
| 15 | 'application/x-bittorrent': misc.TorrentStripper, | 15 | #'application/x-bittorrent': misc.TorrentStripper, |
| 16 | 'application/torrent': misc.TorrentStripper, | 16 | #'application/torrent': misc.TorrentStripper, |
| 17 | 'application/opendocument': office.OpenDocumentStripper, | 17 | #'application/opendocument': office.OpenDocumentStripper, |
| 18 | 'application/officeopenxml': office.OpenXmlStripper, | 18 | #'application/officeopenxml': office.OpenXmlStripper, |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | logging.basicConfig(level=LOGGING_LEVEL) | 21 | logging.basicConfig(level=LOGGING_LEVEL) |
