From d75c2ccaa00035bcdeece1099cf9d40c7f53cd80 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 20 Oct 2016 16:39:14 +0200 Subject: [PATCH] Removed note about obsolete Python version --- django/utils/archive.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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