diff --git a/django/utils/archive.py b/django/utils/archive.py index 3e47213455..7b163edb1b 100644 --- a/django/utils/archive.py +++ b/django/utils/archive.py @@ -140,9 +140,7 @@ class TarArchive(BaseArchive): self._archive.list(*args, **kwargs) def extract(self, to_path): - # note: python<=2.5 doesn't seem to know about pax headers, filter them - members = [member for member in self._archive.getmembers() - if member.name != 'pax_global_header'] + members = self._archive.getmembers() leading = self.has_leading_dir(x.name for x in members) for member in members: name = member.name