Commit 595e643f authored by Chris Lamb's avatar Chris Lamb 💬

Add missing textual DESCRIPTIONs for ZipFile and MozillaZipFile.

parent f1b6924d
......@@ -160,6 +160,7 @@ class ZipContainer(Archive):
class ZipFile(File):
DESCRIPTION = 'ZIP archives'
CONTAINER_CLASS = ZipContainer
FILE_TYPE_RE = re.compile(
r'^(Zip archive|Java archive|EPUB document|OpenDocument (Text|Spreadsheet|Presentation|Drawing|Formula|Template|Text Template)|Google Chrome extension)\b'
......@@ -233,6 +234,7 @@ class MozillaZipContainer(ZipContainer):
class MozillaZipFile(ZipFile):
DESCRIPTION = 'Mozilla-optimized .ZIP archives'
CONTAINER_CLASS = MozillaZipContainer
ZIPINFO = IgnoreReturncodeZipinfo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment