TarIo.TarIoTarFile._extract(): Fix typo

TarIoTarFile is currently unused but should still be correct, so fix a typo in _extract().

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-04-25 08:44:15 +02:00
commit 66b968c51c
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -80,7 +80,7 @@ class TarIo(CopyContext):
class TarIoTarFile(TarIo): class TarIoTarFile(TarIo):
async def _extract(self, blob: bytes, root: str|None=None) -> None: async def _extract(self, blob: bytes, root: str|None=None) -> None:
tf = TarFile(fileobj=io.BytesIO(bytes)) tf = TarFile(fileobj=io.BytesIO(blob))
for info in tf.getmembers(): for info in tf.getmembers():
log(DEBUG, f'Extracting {info.name}') log(DEBUG, f'Extracting {info.name}')
path = root + '/' + info.name if root else info.name path = root + '/' + info.name if root else info.name