From b76826a873d67b83d6e1a053c8ccbcdaa8c9dfa1 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 18 Nov 2024 11:39:49 -0800 Subject: [PATCH] Fix extracting named members from tar file --- release_gitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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