diff --git a/.cirrus.yml b/.cirrus.yml index 7db356f6..7069788e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -17,7 +17,7 @@ env: FEDORA_NAME: "fedora-39" # Google-cloud VM Images - IMAGE_SUFFIX: "c20240125t184057z-f39f38d13" + IMAGE_SUFFIX: "c20240320t153921z-f39f38d13" FEDORA_CACHE_IMAGE_NAME: "fedora-podman-py-${IMAGE_SUFFIX}" 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