diff --git a/release_gitter.py b/release_gitter.py index d1eea8f..25966be 100755 --- a/release_gitter.py +++ b/release_gitter.py @@ -389,7 +389,7 @@ class PackageAdapter: self._package.extractall(path=path, members=members) if isinstance(self._package, TarFile): self._package.extractall( - path=path, members=(TarInfo(name) for name in members) + path=path, members=(self._package.getmember(name) for name in members) ) return members