1
0
mirror of synced 2024-06-06 22:37:48 +02: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 # Some fileformats do require to have the `mimetype` file
# as the first file in the archive. # as the first file in the archive.
if self._get_member_name(item) == 'mimetype': if self._get_member_name(item) == 'mimetype':
items = [item] + items items.insert(0, item)
else: else:
items.append(item) items.append(item)