1
0
mirror of synced 2024-11-22 01:04:23 +01:00

Minor cleanup

This commit is contained in:
jvoisin 2022-05-05 22:00:09 +02:00
parent b18e6e11f0
commit 2639713709

View File

@ -179,7 +179,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
# Some fileformats do require to have the `mimetype` file
# as the first file in the archive.
if self._get_member_name(item) == 'mimetype':
items = [item] + items
items.insert(0, item)
else:
items.append(item)