Removed note about obsolete Python version

This commit is contained in:
Claude Paroz 2016-10-20 16:39:14 +02:00
parent 90c3b11e87
commit d75c2ccaa0
1 changed files with 1 additions and 3 deletions

View File

@ -140,9 +140,7 @@ class TarArchive(BaseArchive):
self._archive.list(*args, **kwargs) self._archive.list(*args, **kwargs)
def extract(self, to_path): def extract(self, to_path):
# note: python<=2.5 doesn't seem to know about pax headers, filter them members = self._archive.getmembers()
members = [member for member in self._archive.getmembers()
if member.name != 'pax_global_header']
leading = self.has_leading_dir(x.name for x in members) leading = self.has_leading_dir(x.name for x in members)
for member in members: for member in members:
name = member.name name = member.name