diff --git a/podman/domain/containers.py b/podman/domain/containers.py index 18ac5f2f..dea35f8d 100644 --- a/podman/domain/containers.py +++ b/podman/domain/containers.py @@ -217,8 +217,7 @@ def export(self, chunk_size: int = api.DEFAULT_CHUNK_SIZE) -> Iterator[bytes]: response = self.client.get(f"/containers/{self.id}/export", stream=True) response.raise_for_status() - for out in response.iter_content(chunk_size=chunk_size): - yield out + yield from response.iter_content(chunk_size=chunk_size) def get_archive( self, path: str, chunk_size: int = api.DEFAULT_CHUNK_SIZE