From eb2e702f3700a0ac88d10a524a5f6c573a52a8dd Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Mon, 25 Feb 2019 15:37:44 +0100
Subject: [PATCH] Document the previous commit

---
 libmat2/archive.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libmat2/archive.py b/libmat2/archive.py
index 1ae3b45..aa1b24c 100644
--- a/libmat2/archive.py
+++ b/libmat2/archive.py
@@ -118,6 +118,8 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
 
             items = list()  # type: List[zipfile.ZipInfo]
             for item in sorted(zin.infolist(), key=lambda z: z.filename):
+                # Some fileformats do require to have the `mimetype` file
+                # as the first file in the archive.
                 if item.filename == 'mimetype':
                     items = [item] + items
                 else:
-- 
GitLab