Skip to content

Commit f5f9a41

Browse files
committed
change returned Iterator to str
Signed-off-by: dklimpel <[email protected]>
1 parent cd68620 commit f5f9a41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

podman/domain/containers_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def run(
2525
stderr=False,
2626
remove: bool = False,
2727
**kwargs,
28-
) -> Union[Container, Union[Generator[bytes, None, None], Iterator[str]]]:
28+
) -> Union[Container, Union[Generator[bytes, None, None], Iterator[bytes]]]:
2929
"""Run a container.
3030
3131
By default, run() will wait for the container to finish and return its logs.

podman/errors/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __init__(
115115
exit_status: int,
116116
command: Union[str, list[str]],
117117
image: str,
118-
stderr: Optional[Iterable[str]] = None,
118+
stderr: Optional[Iterable[bytes]] = None,
119119
): # pylint: disable=too-many-positional-arguments
120120
"""Initialize ContainerError.
121121

0 commit comments

Comments
 (0)