Removed note about obsolete Python version
This commit is contained in:
parent
90c3b11e87
commit
d75c2ccaa0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue