Commit eb2e702f authored by jvoisin's avatar jvoisin

Document the previous commit

parent 545dccc3
Pipeline #22999 failed with stages
in 4 minutes and 14 seconds
......@@ -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
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